aboutsummaryrefslogtreecommitdiff
path: root/man/calm.Rd
blob: c16f663b9f207ca4d235ef8d3837c8b8cdff829f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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