| getEff {semEff} | R Documentation |
Get SEM Effects
Description
Extract SEM effects from an object of class "semEff".
Usage
getEff(eff, responses = NULL, type = c("orig", "boot"))
getDirEff(...)
getIndEff(...)
getTotEff(...)
getMedEff(...)
getAllInd(eff, ...)
Arguments
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 |
Details
These are simple extractor functions for effects calculated using
semEff(), intended for convenience (e.g. for use with predEff()).
Value
A list containing the original or bootstrapped effects for each response variable, as numeric vectors or matrices (respectively).
Functions
-
getEff(): Extract effects. -
getDirEff(): Extract direct effects. -
getIndEff(): Extract indirect effects. -
getTotEff(): Extract total effects. -
getMedEff(): Extract mediator effects. -
getAllInd(): Extract all indirect effects.