Description Usage Arguments Details References See Also Examples

All these functions are `methods`

for class `"lm"`

objects.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ```
## S3 method for class 'glmc'
coef(object, ...)
## S3 method for class 'glmc'
deviance(object, ...)
## S3 method for class 'glmc'
effects(object, ...)
## S3 method for class 'glmc'
family(object, ...)
## S3 method for class 'glmc'
fitted(object, ...)
## S3 method for class 'glmc'
residuals(object,
type = c("deviance", "pearson","working", "response",
"partial"),
...)
``` |

`object` |
an object inheriting from class |

`...` |
further arguments passed to or from other methods. |

`type` |
the type of residuals which should be returned. |

The generic accessor functions `coef`

, `effects`

,
`fitted`

and `residuals`

can be used to extract
various useful features of the value returned by `lm`

.

The working and response residuals are “observed - fitted”. The
deviance and pearson residuals are weighted residuals, scaled by the
square root of the weights used in fitting. The partial residuals
are a matrix with each column formed by omitting a term from the
model. In all these, zero weight cases are never omitted (as opposed
to the standardized `rstudent`

residuals, and the
`weighted.residuals`

).

How `residuals`

treats cases with missing values in the original
fit is determined by the `na.action`

argument of that fit.
If `na.action = na.omit`

omitted cases will not appear in the
residuals, whereas if `na.action = na.exclude`

they will appear,
with residual value `NA`

. See also `naresid`

.

The `"lm"`

method for generic `labels`

returns the
term labels for estimable terms, that is the names of the terms with
an least one estimable coefficient.

Chambers, J. M. (1992)
*Linear models.*
Chapter 4 of *Statistical Models in S*
eds J. M. Chambers and T. J. Hastie, Wadsworth \& Brooks/Cole.

The model fitting function `lm`

, `anova.lm`

.

`coef`

, `deviance`

,
`df.residual`

,
`effects`

, `fitted`

,
`glm`

for **generalized** linear models,
`influence`

(etc on that page) for regression diagnostics,
`weighted.residuals`

,
`residuals`

, `residuals.glm`

,
`summary.glmc`

.

1 2 3 4 5 6 7 8 9 10 11 |

glmc documentation built on May 30, 2017, 6:56 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.