https://github.com/cran/qpcR
Raw File
Tip revision: 002c86eb3c41ef33b94a64dc562866a8956d4854 authored by Andrej-Nikolai Spiess on 25 March 2009, 00:00:00 UTC
version 1.1-8
Tip revision: 002c86e
RMSE.Rd
\name{RMSE}
\alias{RMSE}

\title{Root-mean-squared-error of a fitted model}

\description{
  Calculates the root-mean-squared-error (RMSE) for objects of class \code{drc}, \code{lm}, \code{glm}, \code{nls}
 or any other models where \code{\link{residuals}} can be extacted. 
}

\usage{
  RMSE(object, which = NULL)
}

\arguments{
  \item{object}{a fitted model.}
  \item{which}{the part of the curve to be used for RMSE calculation. If not defined, the complete curve is used.}
 }

\value{
The root-mean-squared-error from the fit or a part thereof.
}

\author{
  Andrej-Nikolai Spiess
}


\examples{
### for a part of the curve
m <- pcrfit(reps, 1, 2, l5())
RMSE(m, 10:15)
}

\keyword{models}
\keyword{nonlinear}
back to top