Learn R Programming

monocle (version 1.6.2)

compareModels: Compare model fits

Description

Performs likelihood ratio tests on nested vector generalized additive models

Usage

compareModels(full_models, reduced_models)

Arguments

full_models
a list of models, e.g. as returned by fitModels(), forming the numerators of the L.R.Ts.
reduced_models
a list of models, e.g. as returned by fitModels(), forming the denominators of the L.R.Ts.

Value

  • a data frame containing the p values and q-values from the likelihood ratio tests on the parallel arrays of models.