aboutsummaryrefslogtreecommitdiff
path: root/man/calm.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/calm.Rd')
-rw-r--r--man/calm.Rd43
1 files changed, 43 insertions, 0 deletions
diff --git a/man/calm.Rd b/man/calm.Rd
new file mode 100644
index 0000000..c16f663
--- /dev/null
+++ b/man/calm.Rd
@@ -0,0 +1,43 @@
+\name{calm}
+\alias{calm}
+\alias{print.calm}
+\alias{predict.calm}
+\alias{summary.calm}
+\title{Generate a calibration model}
+\description{
+ This function fits a calibration model to the data
+ frame.
+}
+\usage{
+ calm(data)
+}
+\arguments{
+ \item{data}{
+ A data frame with numeric x data in the first column and
+ numeric y data in the second column.
+ }
+}
+\value{
+ An object of class \code{calm}, which is derived from
+ a linear model \code{lm}, the only difference being that
+ it contains the additional attributes \code{xname},
+ \code{yname} and \code{intercept}, the latter being a
+ boolean reporting wether the model uses an intercept or not.
+}
+\note{
+ The decision if the returned model contains an intercept is taken based on
+ the significance of the fitted intercept on a significance level of 0.95.
+ The methods \code{\link{print.calm}}, \code{\link{predict.calm}}
+ \code{\link{summary.calm}} are just newly assigned names for the
+ corresponding methods from the class \code{\link{lm}}.
+}
+\examples{
+ data(din32645)
+ calm(din32645)
+}
+\author{
+ Johannes Ranke
+ \email{jranke@uni-bremen.de}
+ \url{http://www.uft.uni-bremen.de/chemie/ranke}
+}
+\keyword{regression}

Contact - Imprint