Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

estimatr_tidiers

Tidy an estimatr object


Description

Tidy an estimatr object

Usage

## S3 method for class 'lm_robust'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)

## S3 method for class 'iv_robust'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)

## S3 method for class 'difference_in_means'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)

## S3 method for class 'horvitz_thompson'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)

## S3 method for class 'lh_robust'
tidy(x, ...)

## S3 method for class 'lh'
tidy(x, ...)

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 ‘FALSE’.

conf.level

The confidence level to use for the confidence interval if ‘conf.int = TRUE’. 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


estimatr

Fast Estimators for Design-Based Inference

v0.30.2
MIT + file LICENSE
Authors
Graeme Blair [aut, cre], Jasper Cooper [aut], Alexander Coppock [aut], Macartan Humphreys [aut], Luke Sonnet [aut], Neal Fultz [ctb], Lily Medina [ctb], Russell Lenth [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.