getEff: Get SEM Effects

Description Usage Arguments Details Value Functions

View source: R/semEff-fun.R

Description

Extract SEM effects from an object of class "semEff".

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
getEff(eff, responses = NULL, type = c("orig", "boot"))

getDirEff(...)

getIndEff(...)

getTotEff(...)

getMedEff(...)

getAllInd(eff, ...)

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. If NULL (default), all effects are returned.

type

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()).

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


semEff documentation built on Oct. 12, 2021, 5:06 p.m.