gg_two_column_consort | R Documentation |
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
gg_two_column_consort(data, var, top_box_text, date = NULL)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.