Description Usage Arguments Details Examples
Visualize the covariate balance within each stratum
1 | ps.strata.balance(data, strata, covariates)
|
data |
Data Frame, containing the dataset. The data frame must contain a treatment indicator variable called 'treat'. |
strata |
Vector, containing the strata for the dataset |
covariates |
Vector, containing the covariate variable names to include |
This function creates a bar or box-and-whisker plot visualizing the summary statistics for each covariate in each of the strata
1 2 3 4 | ## Not run:
ps.strata.balance(myData, myData$strata, covariates)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.