factor_overview_plotter: For making faceted plots with factor data (eg. "Yes" / "No").

Description Usage Arguments Value See Also

View source: R/functions.R

Description

For making faceted plots with factor data (eg. "Yes" / "No").

Usage

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)

Arguments

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) ).

Value

A ggplo2 plot.

See Also

overview


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.