diff options
author | ranke <ranke@5fad18fb-23f0-0310-ab10-e59a3bee62b4> | 2005-02-15 19:15:54 +0000 |
---|---|---|
committer | ranke <ranke@5fad18fb-23f0-0310-ab10-e59a3bee62b4> | 2005-02-15 19:15:54 +0000 |
commit | 965af33bfc386b0c96a50c85fbddf98211e266c4 (patch) | |
tree | 0add80bd2712189a8ae511df0631f122bd270ae2 /man/predictx.Rd | |
parent | a94bd86465fe191102a2bf85a3631c83cd10db0a (diff) |
Cleaned up version, only containing very basic stuff.
git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/chemCal@2 5fad18fb-23f0-0310-ab10-e59a3bee62b4
Diffstat (limited to 'man/predictx.Rd')
-rw-r--r-- | man/predictx.Rd | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/man/predictx.Rd b/man/predictx.Rd new file mode 100644 index 0000000..a3946b0 --- /dev/null +++ b/man/predictx.Rd @@ -0,0 +1,37 @@ +\name{predictx} +\alias{predictx} +\title{Predict x from y values for calibration models} +\description{ + This function predicts x values from y values, as in classical calibration, + including a confindence interval. +} +\usage{ + predictx(m,yobs,level=0.95) +} +\arguments{ + \item{m}{ + A calibration model of type \code{\link{calm}}. + } + \item{yobs}{ + A vector of observed y values for one sample. + } + \item{level}{ + The confidence level for the confidence interval to be reported. + } +} +\value{ + A vector containing the estimate (\code{estimate}), its estimated standard + deviation (\code{sdxpred}), its estimated confidence (\code{confxpred}). +} +\examples{ + data(din32645) + m <- calm(din32645) + r <- predictx(m,3500,level=0.95) + cat("\nThe confidence interval is",r[["estimate"]],"+-",r[["confxpred"]],"\n") +} +\author{ + Johannes Ranke + \email{jranke@uni-bremen.de} + \url{http://www.uft.uni-bremen.de/chemie/ranke} +} +\keyword{regression} |