pengyu420 发表于 2019-7-9 11:57 
谢谢指导!!非常感谢
你好,我用了我的数据运行以后,提示这个错误:Error in start:end : result would be too long a vector
In addition: Warning message:
In max(which(ax[, i] != 0)) :
no non-missing arguments to max; returning -Inf
完全不知道什么意思

是否是因为数据量太大?我的数据表有365行107列。
请问这个应该怎么处理?
附上我的代码和数据表,数据原本是csv格式,为了上传方便转成xlsx格式的了。