gfam: Grouped families

View source: R/gfam.R

gfamR Documentation

Grouped families

Description

This function is inspired by a function of the same name in the mgcv package \insertCitewoodGeneralizedAdditiveModels2017galamm, and supports setting up mixed response type models. When using this function, the response variable must be supported as a two-column matrix, in which the first column contains the response and the second column contains an index mapping the response to the list elements provided in the argument fl to this function.

Usage

gfam(fl)

Arguments

fl

A list of families. Currently gaussian, binomial, and poisson with canonical link functions are supported.

Value

An object of class "galamm_extended_family".

References

\insertAllCited

See Also

Other modeling functions: galamm(), galammObject, s(), t2()


galamm documentation built on Dec. 21, 2025, 5:07 p.m.