glm_multi: Model functions for GLM with negative binomial family.

View source: R/models_multi.R

glm_multiR Documentation

Model functions for GLM with negative binomial family.

Description

Runs models 'glm_gaussian', 'glm_nb', 'glm_poisson', 'glm_zeroinfl(poisson)', 'glm_zeroinfl(negbin)' and returns mode with lowest AIC.

Usage

glm_multi(
  models = c(glm_gaussian, glm_nb, glm_poisson, glm_zeroinfl_poisson,
    glm_zeroinfl_negbin)
)

Arguments

models

Model type, one or more of glm_gaussian, glm_nb, glm_poisson, glm_zeroinfl_poisson or glm_zeroinfl_negbin

Value

structure containing functions fit, coefficients, aic, data, pterm, pmodel, and a character string "glm_multi" in model.

Examples

x <- glm_multi()

Mercedeh66/mirTarRnaSeq documentation built on April 14, 2023, 6:49 a.m.