| update.lm(base) | R Documentation |
.....
update.lm( lm.obj, formula, data, weights, subset, na.action)
update.glm(glm.obj, formula, data, weights, subset, na.action,
offset, family, x)
[g]lm.obj |
result of lm or glm.
The following arguments are all optional, and have the
identical meaning as the arguments of |
formula |
a formula for updating the former model. |
data |
the data.frame. |
weights |
observation weights. |
subset |
choose a subset of cases. |
na.action |
a function. what do to with NAs, see
na.action. |
offset |
see glm. |
family |
family for glm. |
x |
logical, should the x matrix be returned? |
An object of the same class as the original glm.obj.
The ``white book''.
update.formula,
formula,lm,glm.