glm_multi {mirTarRnaSeq} | R 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()

[Package mirTarRnaSeq version 1.0.0 Index]