gg_two_column_consort: gg_two_column_consort

gg_two_column_consortR Documentation

gg_two_column_consort

Description

This function creates a two column consort figure with "before" and "after" population N If you would also like to display subgroup population Ns, please use gg_two_column_consort_subgroup

Usage

gg_two_column_consort(data, var, top_box_text, date = NULL)

Arguments

data

data.frame, data with consort variable

var

string, name of consort variable that is in the format "col row description"

top_box_text

string, text to display in top box of diagram

date

string, date of data pull. if NULL, won't display date.

box_height

height of exclusion boxes. default is 0.4.

box_width

width of subgroup boxes. default is 0.22.


olsonma/mollr documentation built on Aug. 2, 2022, 9:17 p.m.