Description Usage Arguments Value
View source: R/balance_table.R
Makes the columns of the dataset lowercase.
1 | balance_table(df, treatment, variables = names(df))
|
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.