df.residual
Extract Residual Degrees of Freedom from a Model

Description

Extracts Residual Degrees of Freedom from a Fitted Model.

Usage

df.residual(object, ...)

Arguments

object a model object with residual degrees of freedom.
... other arguments to pass in or from other functions.
Value
returns an integer that corresponds to the residual degrees of freedom for the model defined in object.
See Also
coef, model.extract, residuals.
Examples
fit <- glm(ozone ~ radiation + poly(wind, temperature, degree = 2),
    data = Sdatasets::air)
df.residual(fit)
## [1] 104








Package stats version 6.1.4-13
Package Index