raotest | R Documentation |
Rao-type chi-squared test (model-based or robust)
raotest(mod, mod_null)
mod |
an object of class |
mod_null |
an object of class |
P-value from likelihood ratio test.
data(soil_phylum_small_otu1)
mod1 <- bbdml(formula = cbind(W, M - W) ~ DayAmdmt,
phi.formula = ~ DayAmdmt,
data = soil_phylum_small_otu1)
mod2 <- bbdml(formula = cbind(W, M - W) ~ 1,
phi.formula = ~ 1,
data = soil_phylum_small_otu1)
raotest(mod1, mod2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.