Extract the error distribution family (and link function) from a fitted model.
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.
Examples
# SEM model error distributions
getFamily(shipley.sem)
#> DD Date Growth Live
#> family "gaussian" "gaussian" "gaussian" "binomial"
#> link "identity" "identity" "identity" "logit"
#> linkfun ? ? ? ?
#> linkinv ? ? ? ?
#> variance ? ? ? ?
#> dev.resids ? ? ? ?
#> aic ? ? ? ?
#> mu.eta ? ? ? ?
#> initialize ? ? ? expression
#> validmu ? ? ? ?
#> valideta ? ? ? ?
#> dispersion NA NA NA ?