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 NA s, see
na.action .
|
offset
|
see glm .
|
family
|
family for glm .
|
x
|
logical, should the x matrix be returned?
|
class
as the original glm.obj
.update.formula
,
formula
,lm
,glm
.