getFamily: Get Model Error Distribution Family

View source: R/stdEff-fun.R

getFamilyR Documentation

Get Model Error Distribution Family

Description

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

Usage

getFamily(mod)

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.

Value

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

See Also

family()

Examples

# SEM model error distributions
getFamily(shipley.sem)

murphymv/semEff documentation built on Sept. 18, 2024, 7:40 p.m.