summary.summclust: A 'summary()' method for objects of type 'summclust'

View source: R/summary_summclust.R

summary.summclustR Documentation

A summary() method for objects of type summclust

Description

A summary() method for objects of type summclust

Usage

## S3 method for class 'summclust'
summary(object, ...)

Arguments

object

An object of type summclust

...

misc arguments

Value

A printed summary with pvalues, t-statistics, confidence intervals, and leverage statistics

References

MacKinnon, James G., Morten Ørregaard Nielsen, and Matthew D. Webb. "Leverage, influence, and the jackknife in clustered regression models: Reliable inference using summclust." arXiv preprint arXiv:2205.03288 (2022).

Examples


library(summclust)
data(mtcars)
mtcars

fit <- lm(mpg ~ cyl + disp + hp, data = mtcars)
summ <- summclust(fit, params = ~cyl + disp, cluster = ~carb)
summary(summ)
tidy(summ)
plot(summ)


summclust documentation built on Aug. 10, 2023, 9:07 a.m.