summary.boottest: S3 method to summarize objects of class boottest

View source: R/methods.R

summary.boottestR Documentation

S3 method to summarize objects of class boottest

Description

S3 method to summarize objects of class boottest

Usage

## S3 method for class 'boottest'
summary(object, digits = 3, ...)

Arguments

object

object of type boottest

digits

rounding of output. 3 by default

...

Further arguments passed to or from other methods.

Value

Returns result summaries for objects of type boottest

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"
)
summary(boot)

fwildclusterboot documentation built on March 7, 2023, 5:33 p.m.