Extract SEM effects from an object of class "semEff"
.
Usage
getEff(eff, responses = NULL, type = c("orig", "boot"))
getDirEff(...)
getIndEff(...)
getTotEff(...)
getMedEff(...)
getAllInd(eff, ...)
getEffTable(eff, ...)
getDirEffTable(...)
getIndEffTable(...)
getTotEffTable(...)
getMedEffTable(...)
Arguments
- eff
An object of class
"semEff"
.- 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
eff
. IfNULL
(default), all effects are returned.- type
The type of effects to return. Can be
"orig"
(original estimates - default) or"boot"
(for bootstrapped).- ...
Arguments (above) to be passed to
getEff()
from the other extractor functions.type = "boot"
is not available forgetAllInd()
orgetEffTable()
(and derivatives).
Value
A list containing the original or bootstrapped effects for each
response variable as numeric vectors or matrices (respectively), or a table
of (unformatted) effects and confidence intervals (for getEffTable()
).
Details
These are simple extractor functions for effects calculated using
semEff()
, intended for convenience (e.g. for use with predEff()
).
Functions
getEff()
: Get effects.getDirEff()
: Get direct effects.getIndEff()
: Get indirect effects.getTotEff()
: Get total effects.getMedEff()
: Get mediator effects.getAllInd()
: Get all indirect effects.getEffTable()
: Get effects table.getDirEffTable()
: Get direct effects table.getIndEffTable()
: Get indirect effects table.getTotEffTable()
: Get total effects table.getMedEffTable()
: Get mediator effects table.