nobs.mboottest {fwildclusterboot} | R Documentation |
S3 method to obtain the effective number of observation used
in mboottest()
Description
S3 method to obtain the effective number of observation used
in mboottest()
Usage
## S3 method for class 'mboottest'
nobs(object, ...)
Arguments
object |
object of type mboottest |
... |
Further arguments passed to or from other methods. |
Value
A scalar containing the effective number of observations
used in mboottest()
Examples
## Not run:
requireNamespace("clubSandwich")
R <- clubSandwich::constrain_zero(2:3, coef(lm_fit))
wboottest <-
mboottest(
object = lm_fit,
clustid = "group_id1",
B = 999,
R = R
)
nobs(wboottest)
## End(Not run)
[Package fwildclusterboot version 0.13.0 Index]