2014-11-02 46 views
0

在,使用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 

所以,請你幫我解決這個?

感謝 呸

回答

0

如果您在變量中使用了一些隨機值是否可以重現錯誤?如果沒有這些數據很難評估數據是否以某種方式「損壞」(或者至少不足以滿足您的要求)。