This help topic is for R version 0.90. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/update.lm.html
update.lm {base}R Documentation

Update a [G]LM Model

Description

.....

Usage

 update.lm( lm.obj, formula, data, weights, subset, na.action)
update.glm(glm.obj, formula, data, weights, subset, na.action,
           offset, family, x)

Arguments

[g]lm.obj

result of lm or glm.

The following arguments are all optional, and have the identical meaning as the arguments of lm or glm, respectively:

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?

Value

An object of the same class as the original glm.obj.

References

The “white book”.

See Also

update.formula, formula,lm,glm.


[Package base version 0.90 ]