pbLRT {corncob} | R Documentation |
Parametric bootstrap likelihood ratio test
Description
Parametric bootstrap likelihood ratio test
Usage
pbLRT(mod, mod_null, B = 1000)
Arguments
mod |
an object of class |
mod_null |
an object of class |
B |
Integer. Defaults to |
Value
P-value from parametric bootstrap likelihood ratio test.
Examples
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)
pbLRT(mod1, mod2, B = 50)
[Package corncob version 0.4.1 Index]