The R Project SVN R

Rev

Rev 25099 | Rev 44969 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25099 Rev 25360
Line 1... Line 1...
1
\name{kappa}
1
\name{kappa}
2
\title{Estimate the Condition Number}
2
\title{Estimate the Condition Number}
3
\usage{
3
\usage{
4
kappa(z, \dots)
4
kappa(z, \dots)
5
kappa.lm     (z, \dots)
5
\method{kappa}{lm}(z, \dots)
6
kappa.default(z, exact = FALSE, \dots)
6
\method{kappa}{default}(z, exact = FALSE, \dots)
7
kappa.qr     (z, \dots) 
7
\method{kappa}{qr}(z, \dots) 
-
 
8
 
8
kappa.tri    (z, exact = FALSE, \dots)
9
kappa.tri(z, exact = FALSE, \dots)
9
}
10
}
10
\alias{kappa}
11
\alias{kappa}
11
\alias{kappa.default}
12
\alias{kappa.default}
12
\alias{kappa.lm}
13
\alias{kappa.lm}
13
\alias{kappa.qr}
14
\alias{kappa.qr}
Line 27... Line 28...
27
\details{
28
\details{
28
 If \code{exact = FALSE} (the default) the condition number is estimated
29
 If \code{exact = FALSE} (the default) the condition number is estimated
29
 by a cheap approximation. Following S, this uses the LINPACK routine
30
 by a cheap approximation. Following S, this uses the LINPACK routine
30
 \file{dtrco.f}.  However, in \R (or S) the exact calculation is also
31
 \file{dtrco.f}.  However, in \R (or S) the exact calculation is also
31
 likely to be quick enough.
32
 likely to be quick enough.
-
 
33
 
-
 
34
 \code{kappa.tri} is an internal function called by \code{kappa.qr}.
32
}
35
}
33
\value{
36
\value{
34
  The condition number, \eqn{kappa}, or an approximation if
37
  The condition number, \eqn{kappa}, or an approximation if
35
  \code{exact=FALSE}.  
38
  \code{exact = FALSE}.  
36
}
39
}
37
\references{
40
\references{
38
  Chambers, J. M. (1992)
41
  Chambers, J. M. (1992)
39
  \emph{Linear models.}
42
  \emph{Linear models.}
40
  Chapter 4 of \emph{Statistical Models in S}
43
  Chapter 4 of \emph{Statistical Models in S}