balance_table: Makes the columns of the dataset lowercase.

Description Usage Arguments Value

View source: R/balance_table.R

Description

Makes the columns of the dataset lowercase.

Usage

1
balance_table(df, treatment, variables = names(df))

Arguments

df

A dataset (data.frame, tibble, etc.).

treatment

The treatment variable as a string.

variables

The subset of columns to test for balance. Select all columns by default.

Value

A balance table with columns term, estimate, std.error, statistic, and p.value. Term is the variable being tested. Estimate is the distance between the means of treated and untreated groups. The p.value is the likelihood that distance is up to chance. In this case then null hypothesis is that the treatment and control groups are the same.


ndtallant/tidytallant documentation built on Feb. 5, 2020, 1:19 p.m.