Learn R Programming

piecewiseSEM (version 2.3.0)

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

Description

Update psem model object with additional values.

Usage

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

Arguments

object

a psem object

...

additional arguments to update

Examples

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

update(mod, firesev ~ age + cover)

Run the code above in your browser using DataLab