ps.covariate.qq: QQ Plots

Description Usage Arguments Details Examples

Description

Create QQ plots for each of the continuous covariates

Usage

1
ps.covariate.qq(data, covariates, weights = NULL)

Arguments

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.

Details

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

Examples

1
2
3
4
5
## Not run: 
ps.covariate.qq(myData, covariates)
ps.covariate.qq(myData, covariates, myData$is_matched)

## End(Not run)

OHDSI/Centaur documentation built on May 7, 2019, 8:22 p.m.