Learn R Programming

semEff (version 0.4.0)

getEff: Get SEM Effects

Description

Extract SEM direct, indirect, and/or total effects from an object of class "semEff".

Usage

getEff(eff, type = "orig")

dirEff(...)

indEff(...)

totEff(...)

Arguments

eff

An object of class "semEff".

type

The type of effects to return. Must be either "orig" (default) or "boot".

...

Arguments (above) to be passed to getEff from other extractor functions.

Value

A list containing the original or bootstrapped effects for each response variable, as numeric vectors or matrices (respectively).

Functions

  • getEff: Extract all effects.

  • dirEff: Extract direct effects.

  • indEff: Extract indirect effects.

  • totEff: Extract total effects.

Details

These are simple extractor functions for effects calculated using semEff, intended for convenience (e.g. for use with predEff).