Extract SEM effects from an object of class "semEff"
.
getEff(eff, responses = NULL, type = c("orig", "boot"))
getDirEff(...)
getIndEff(...)
getTotEff(...)
getMedEff(...)
getAllInd(eff, ...)
An object of class "semEff"
.
An optional character vector, the names of one or more SEM
response variables for which to return effects. Can also be a numeric
vector of indices of eff
. If NULL
(default), all effects are returned.
The type of effects to return. Can be "orig"
(default) or
"boot"
(for bootstrapped).
Arguments (above) to be passed to getEff()
from the other
extractor functions (type = "boot"
is not available for getAllInd()
).
A list containing the original or bootstrapped effects for each response variable, as numeric vectors or matrices (respectively).
These are simple extractor functions for effects calculated using
semEff()
, intended for convenience (e.g. for use with predEff()
).
getEff()
: Extract effects.
getDirEff()
: Extract direct effects.
getIndEff()
: Extract indirect effects.
getTotEff()
: Extract total effects.
getMedEff()
: Extract mediator effects.
getAllInd()
: Extract all indirect effects.