Extract_BIC: Calculates the Bayesian information criterion for a list of...

View source: R/Extract_BIC.R

Extract_BICR Documentation

Calculates the Bayesian information criterion for a list of MGLM objects.

Description

This function extracts BIC from a list of MGLM objects.

Usage

Extract_BIC(x)

Arguments

x

A list of MGLM objects. 'MGLMdtmFit', 'MGLMdtmReg', 'MGLMdtmSparseReg', or 'MGLMdtmTune'.

Value

Returns the BIC of a MGLMdtm object (a list of MGLM objects).

Examples

library(phyloseq)
otu.tab <- t(otu_table(combo.phyloseq.obj))
tree <- phy_tree(combo.phyloseq.obj)
fit <- MGLMdtmFit(otu.tab, tree)
Extract_BIC(fit)

liudoubletian/phyloMDA documentation built on April 28, 2022, 6:51 p.m.