Learn R Programming

estimatr (version 0.30.6)

estimatr_tidiers: Tidy an estimatr object

Description

Tidy an estimatr object

Usage

# S3 method for lm_robust
tidy(x, conf.int = TRUE, conf.level = NULL, ...)

# S3 method for iv_robust tidy(x, conf.int = TRUE, conf.level = NULL, ...)

# S3 method for difference_in_means tidy(x, conf.int = TRUE, conf.level = NULL, ...)

# S3 method for horvitz_thompson tidy(x, conf.int = TRUE, conf.level = NULL, ...)

# S3 method for lh_robust tidy(x, conf.int = TRUE, conf.level = NULL, ...)

# S3 method for lh tidy(x, conf.int = TRUE, conf.level = NULL, ...)

Arguments

x

An object returned by one of the estimators

conf.int

Logical indicating whether or not to include a confidence interval in the tidied output. Defaults to <U+2018>TRUE<U+2019>.

conf.level

The confidence level to use for the confidence interval if <U+2018>conf.int = TRUE<U+2019>. Must be strictly greater than 0 and less than 1. Defaults to 0.95, which corresponds to a 95 percent confidence interval.

...

extra arguments (not used)

Value

A data.frame with columns for coefficient names, estimates, standard errors, confidence intervals, p-values, degrees of freedom, and the name of the outcome variable

See Also

generics::tidy(), lm_robust(), iv_robust(), difference_in_means(), horvitz_thompson()