Displaying 1 result from an estimated 1 matches for "startlist7".
Did you mean:
startlist
2009 Feb 10
2
plotting the result of a nonlinear regression
...wer=list(a=0, b=10), upper=list(a=100, b=100))
plotfit(r.PTG.V)
I tried to use the function plotfit on the result of the following for loop but I got an error message:
for (i in 1:length(formList))
{
resultList[[i]] <- nls(formList[[i]], data=subset(dati, Fiume=="Laveggio"), start=startList7[[i]],
nls.control(maxiter=1000, warnOnly=TRUE), algorithm='port', na.action=na.omit,lower=lowerList7[[i]],
upper=upperList7[[i]])
}
plotfit(resultList[[1]]
"Error in diff(as.numeric(y[ord])) :
(list) object cannot be coerced to type 'double'"
Could somebody...