balance_summary {vaccineff} | R Documentation |
This function creates a summary after matching.
balance_summary(
data_set,
nearest,
exact,
vacc_status_col,
vaccinated_status,
unvaccinated_status
)
data_set |
|
nearest |
Named vector with name(s) of column(s) for |
exact |
Name(s) of column(s) for |
vacc_status_col |
Name of the column containing the vaccination. |
vaccinated_status |
Status assigned to the vaccinated population. |
unvaccinated_status |
Status assigned to the unvaccinated population. |
Summary data.frame
with the balance of each variable by
vaccine status. Numeric variables are reported with means, and
categorical/factor variables are reported with proportions.
In both cases, the Standardized Mean Difference (SMD) is calculated.