1% File src/library/stats/man/df.residual.Rd
2% Part of the R package, https://www.R-project.org
3% Copyright 1995-2007 R Core Team
4% Distributed under GPL 2 or later
5
6\name{df.residual}
7\alias{df.residual}
8%\alias{df.residual.default}
9\title{Residual Degrees-of-Freedom}
10\description{
11  Returns the residual degrees-of-freedom extracted from a fitted model
12  object.
13}
14\usage{
15df.residual(object, \dots)
16}
17\arguments{
18  \item{object}{an object for which the degrees-of-freedom are desired.}
19  \item{\dots}{additional optional arguments.}
20}
21\details{
22  This is a generic function which can be used to extract residual
23  degrees-of-freedom for fitted models.  Consult the individual modeling
24  functions for details on how to use this function.
25
26  The default method just extracts the \code{df.residual} component.
27}
28\value{
29  The value of the residual degrees-of-freedom extracted from the object
30  \code{x}.
31}
32\seealso{
33  \code{\link{deviance}}, \code{\link{glm}}, \code{\link{lm}}.
34}
35\keyword{models}
36\keyword{regression}
37