update_in_env {supernova} | R Documentation |
Update a model in the environment the model was created in
Description
stats::update()
will perform the update in parent.frame()
by default, but this can cause
problems when the update is called by another function (so the parent frame is no longer the
environment the user is in).
Usage
update_in_env(object, formula., ...)
Arguments
object |
An existing fit from a model function such as |
formula. |
Changes to the formula – see |
... |
Additional arguments to the call, or arguments with
changed values. Use |
Value
The updated model is returned.
[Package supernova version 3.0.0 Index]