S3 method to obtain the wild cluster bootstrapped p-value of an object of type mboottest
Source:R/methods.R
pval.mboottest.Rd
S3 method to obtain the wild cluster bootstrapped p-value of an object of type mboottest
Usage
# S3 method for mboottest
pval(object, ...)
Examples
if (FALSE) {
requireNamespace("clubSandwich")
R <- clubSandwich::constrain_zero(2:3, coef(lm_fit))
wboottest <-
mboottest(
object = lm_fit,
clustid = "group_id1",
B = 999,
R = R
)
pval(wboottest)
}