S3 method to summarize objects of class boottest into tidy data.frame
Source:R/methods.R
tidy.boottest.Rd
S3 method to summarize objects of class boottest into tidy data.frame
Usage
# S3 method for boottest
tidy(x, ...)
Examples
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)
#> term estimate statistic p.value conf.low conf.high
#> 1 1*treatment = 0 0.07290769 3.709435 0.00160016 0.03326567 0.1130714