Description Usage Arguments Value See Also
For making faceted plots with factor data (eg. "Yes" / "No").
1 2 3 | factor_overview_plotter(x, title_string, warning, demo_one, demo_two,
foptions = aware_options, break_values = c(0, 10, 30, 1000),
reversed_values = FALSE)
|
x |
dataframe, column of interest named \'target_column\'. |
title_string |
string, title of plot. |
warning |
numeric, cutoff between \'positive\' and \'negative\' values. |
demo_one |
string, (numeric probably works too?) identifies 1st demographic column in x to filter by. |
demo_two |
string, (numeric probably works too?) identifies 2nd demographic column in x to filter by. |
foptions |
vector, strings identifying which factors/strings in target_column count as \'positive\'. |
break_values |
vectors, numeric values sample sizes into appropriate categories. Ideally statistically relevant. |
reversed_values |
logical, indicates whether to flip values (e.g. y %>% mutate(Percent = 100 - Percent) ). |
A ggplo2 plot.
overview
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.