Extract SEM effects from an object of class "semEff"
.
getEff(eff, responses = NULL, type = c("orig", "boot")) getDirEff(...) getIndEff(...) getTotEff(...) getMedEff(...) getAllInd(eff, ...)
eff | An object of class |
---|---|
responses | 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 |
type | The type of effects to return. Can be |
... | Arguments (above) to be passed to |
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.