Description Usage Arguments Details Examples
Create QQ plots for each of the continuous covariates
1 | ps.covariate.qq(data, covariates, weights = NULL)
|
data |
Data frame, containing the balanced population data. The data frame must contain a treatment indicator variable called 'treat'. |
covariates |
Vector, containing the list of covariate names |
weights |
Vector, containing the weights to use in balanced population calculations. Defaults to unweighted. |
This function identifies each of the continuous covariates and creates a QQ plot, which allows one to visually inspect the similarity of distributions of covariates in the control and treatment populations
1 2 3 4 5 | ## Not run:
ps.covariate.qq(myData, covariates)
ps.covariate.qq(myData, covariates, myData$is_matched)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.