des_covs: Explore covariates

Description Usage Arguments Examples

Description

This function allows you to explore overlap and imbalance in outcomes by covariates

Usage

1
2
des_covs(cdata, covs = c(1), bin_no = 30, quints = 0,
  col_bar = "purple4", col_line = "#d3d3d3", theme = theme_bw())

Arguments

cdata

An object created with the cdata command

covs

A vector of covariate names to include, defaults to all

bin_no

The number of histogram bins, defaults to 30

quints

Adds quintiles to plots, 1 for control, 2 for treatment, defaults to none 0

col_bar

The color of your histogram bars, defaults to "purple4"

col_line

The color of your lines, defaults to "#d3d3d3"

theme

Ggplot theme

Examples

1

abilinski/causeIt2 documentation built on May 10, 2019, 4:10 a.m.