The R Project SVN R

Rev

Rev 68948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 84534
Line 5... Line 5...
5
 
5
 
6
\name{nobs}
6
\name{nobs}
7
\alias{nobs}
7
\alias{nobs}
8
\alias{nobs.default}
8
\alias{nobs.default}
9
\title{
9
\title{
10
  Extract the Number of Observations from a Fit.
10
  Extract the Number of Observations from a Fit
11
}
11
}
12
\description{
12
\description{
13
  Extract the number of \sQuote{observations} from a model fit.  This is
13
  Extract the number of \sQuote{observations} from a model fit.  This is
14
  principally intended to be used in computing BIC (see \code{\link{AIC}}).
14
  principally intended to be used in computing BIC (see \code{\link{AIC}}).
15
}
15
}
Line 17... Line 17...
17
nobs(object, ...)
17
nobs(object, ...)
18
 
18
 
19
\method{nobs}{default}(object, use.fallback = FALSE, ...)
19
\method{nobs}{default}(object, use.fallback = FALSE, ...)
20
}
20
}
21
\arguments{
21
\arguments{
22
  \item{object}{A fitted model object.}
22
  \item{object}{a fitted model object.}
23
  \item{use.fallback}{logical: should fallback methods be used to try to
23
  \item{use.fallback}{logical: should fallback methods be used to try to
24
    guess the value?}
24
    guess the value?}
25
  \item{\dots}{Further arguments to be passed to methods.}
25
  \item{\dots}{further arguments to be passed to methods.}
26
}
26
}
27
\details{
27
\details{
28
  This is a generic function, with an S4 generic in package \pkg{stats4}.
28
  This is a generic function, with an S4 generic in package \pkg{stats4}.
29
  There are methods in this package for objects of classes
29
  There are methods in this package for objects of classes
30
  \code{"\link{lm}"}, \code{"\link{glm}"}, \code{"\link{nls}"} and
30
  \code{"\link{lm}"}, \code{"\link{glm}"}, \code{"\link{nls}"} and