fam_obtainer: Internal: Family obtainer

View source: R/plot_related_helper.R

fam_obtainerR Documentation

Internal: Family obtainer

Description

Gets the right family (in characters) from a given model

Usage

fam_obtainer(model)

Examples

# Generating data
data_fam <- model_fam_data(fam_name = "BE")
# Fit model
library("gamlss")
beta_model <- gamlss(BE ~ norm2 + binomial1,
  data = data_fam, family = BE())
distreg.vis:::fam_obtainer(model = beta_model)

distreg.vis documentation built on Oct. 27, 2023, 9:07 a.m.