Learn R Programming

estimatr (version 0.6.0)

tidy: Tidy the result of an estimator into a data.frame

Description

Tidy the result of an estimator into a data.frame

Usage

tidy(object, ...)

# S3 method for NULL tidy(object, ...)

# S3 method for default tidy(object, ...)

# S3 method for lm_robust tidy(object, ...)

# S3 method for iv_robust tidy(object, ...)

# S3 method for difference_in_means tidy(object, ...)

# S3 method for horvitz_thompson tidy(object, ...)

Arguments

object

An object returned by one of the estimators

...

extra arguments (not used)

Value

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