繁体   English   中英

R软件中的绘图图

[英]Plot graphs in R software

在使用R软件时,我遇到的错误术语是:

 dmodel1=list()
 for(i in 1:12){
 sun.st = i     
 data1 = fdata(file1, nd = nd, sun.st)
 d1= ffit(data1,order=2)
 dmodel1[[i]]=d1
 fplot(d1, plot.year,label=colnames(data1)[2],ylab=1)
 cat(colnames(data1)[2], "\n")
 }

错误是:

 Error in plot.window(...) : need finite 'ylim' values
 In addition: Warning messages:
 1: In model.response(mf, "numeric") :
  using type = "numeric" with a factor response will be ignored
 2: In Ops.factor(y, z$residuals) : - not meaningful for factors
 3: In Ops.factor(x[, 2], dataff1f) : - not meaningful for factors
 4: In max(dataFF2[, 3], na.rm = TRUE) :
  no non-missing arguments to max; returning -Inf

所以,请您帮我克服这个困难吗?

谢谢巴

如果在变量中使用一些随机值,是否可以重现该错误? 如果没有数据,则很难评估数据是否以某种方式“损坏”(或至少不足以执行您想要的操作)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM