RMSE {qpcR} | R Documentation |
Calculates the root-mean-squared-error (RMSE) for objects of class nls
, lm
, glm
, drc
or any other models from which residuals
can be extacted.
RMSE(object, which = NULL)
object |
a fitted model. |
which |
the part of the curve to be used for RMSE calculation. If not defined, the complete curve is used. |
The root-mean-squared-error from the fit or a part thereof.
Andrej-Nikolai Spiess
## for a part of the curve m <- pcrfit(reps, 1, 2, l5) RMSE(m, 10:15)