get_model_class: Get model class from model specifications

View source: R/model_registry.R

get_model_classR Documentation

Get model class from model specifications

Description

Internal function that maps model type, family, and GEE usage to the appropriate S3 class for autoreg() dispatch.

Usage

get_model_class(type, family = NULL, gee = FALSE)

Arguments

type

Model type (linear, logistic, poisson, negbin, ordinal, boxcox, coxph, crr)

family

Model family (gaussian, binomial, poisson, or NULL)

gee

Logical indicating if GEE model

Value

Character string of S3 class name


reportRmd documentation built on March 20, 2026, 5:06 p.m.