update.psem: Update psem model object with additional values.

View source: R/psem.R

update.psemR Documentation

Update psem model object with additional values.

Description

Update psem model object with additional values.

Usage

## S3 method for class 'psem'
update(object, ...)

Arguments

object

a psem object

...

additional arguments to update

Examples

mod <- psem(
lm(rich ~ cover, data = keeley),
lm(cover ~ firesev, data = keeley),
lm(firesev ~ age, data = keeley),
data = keeley
)

update(mod, firesev ~ age + cover)


piecewiseSEM documentation built on June 22, 2024, 9:53 a.m.