Description Usage Arguments Value Note See Also Examples
update.rsm
is used to update a rsm
model
formulae. This typically involves adding or dropping terms, but
updates can be more general.
1 2 |
object |
a model of class |
formula. |
changes to the formula – see |
... |
additional arguments to the call, or arguments with changed
values. Use |
evaluate |
if |
If evaluate = TRUE
the fitted object, otherwise the updated
call.
Based upon update.default
.
update
, update.default
,
update.formula
1 2 3 4 5 6 7 8 9 10 | data(houses)
houses.rsm <- rsm(price ~ ., family = student(5), data = houses)
## model fit including all covariates
##
houses.rsm <- update(houses.rsm, method = "rsm.fit",
control = glm.control(trace = TRUE))
## prints information about the iterative procedure at each iteration
##
update(houses.rsm, ~ . - bdroom + offset(7 * bdroom))
## "bdroom" is included as offset variable with fixed (= 7) coefficient
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.