update.psem | R Documentation |
Update psem model object with additional values.
## S3 method for class 'psem'
update(object, ...)
object |
a psem object |
... |
additional arguments to update |
mod <- psem(
lm(rich ~ cover, data = keeley),
lm(cover ~ firesev, data = keeley),
lm(firesev ~ age, data = keeley),
data = keeley
)
update(mod, firesev ~ age + cover)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.