tidy.boottest | R Documentation |
S3 method to summarize objects of class boottest into tidy data.frame
## S3 method for class 'boottest'
tidy(x, ...)
x |
object of type boottest |
... |
Further arguments passed to or from other methods. |
A tidy data.frame with estimation results for objects of type boottest
requireNamespace("fwildclusterboot")
data(voters)
lm_fit <- lm(
proposition_vote ~ treatment + ideology1 + log_income + Q1_immigration,
data = voters
)
boot <- boottest(lm_fit,
B = 9999,
param = "treatment",
clustid = "group_id1"
)
generics::tidy(boot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.