Dear all,

 

I have used nlsLM in minpack.lm package for fitting a model using 22358
observations. Now I would like to compute PRESS residuals and have been
trying it using qpcR package but it does not seem to work (I have fitted my
data with a lm model and used qpcR PRESS and it worked fine).

 

The message I get is:

 

Error in as.data.frame.default(x[[i]], optional = TRUE) : 

  cannot coerce class ""formula"" to a data.frame

 

And also, with a different and smaller database, I got this message:

 

.Error in PRESS.res[i] <- DATA[i, RESP.pos] - y.hat : 

  replacement has length zero

 

Can anyone please help me?

 

Best regards,

 

Francisco Goes


	[[alternative HTML version deleted]]

