Learn R Programming

glmmFEL (version 1.0.5)

glmmfe_resolve_family: Resolve supported family specifications

Description

Internal helper that normalizes user family input into one of the canonical labels used by the internal FE/Laplace code:

  • "binomial_probit"

  • "binomial_logit"

  • "poisson_log"

Users may pass either the canonical character labels above, or common stats::family() objects:

  • stats::binomial(link = "probit")

  • stats::binomial(link = "logit")

  • stats::poisson(link = "log")

Usage

glmmfe_resolve_family(family)

Value

A canonical family label.

Arguments

family

Character label or a stats::family() object.