Learn R Programming

semEff (version 0.7.2)

getFamily: Get Model Error Distribution Family

Description

Extract the error distribution family (and link function) from a fitted model.

Usage

getFamily(mod)

Value

A model "family" object, or a list or nested list of such objects.

Arguments

mod

A fitted model object, or a list or nested list of such objects.

Details

getFamily() returns an appropriate family object for a range of different model classes, similarly to family(). However, it can be also be used for some classes without an existing family method. Mostly for internal use.

See Also

Examples

Run this code
# SEM model error distributions
getFamily(shipley.sem)

Run the code above in your browser using DataLab