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

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. If NULL (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 for getAllInd() or getEffTable() (and derivatives).

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), or a table of (unformatted) effects and confidence intervals (for getEffTable()).

Functions


[Package semEff version 0.7.2 Index]