lrtest | R Documentation |
Likelihood ratio test
lrtest(mod, mod_null)
mod |
an object of class |
mod_null |
an object of class |
P-value from likelihood ratio test.
data(soil_phylum_small)
mod1 <- bbdml(formula = OTU.1 ~ DayAmdmt,
phi.formula = ~ DayAmdmt,
data = soil_phylum_small)
mod2 <- bbdml(formula = OTU.1 ~ 1,
phi.formula = ~ 1,
data = soil_phylum_small)
lrtest(mod1, mod2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.