yes_factor_overview_plotter: factor_overview_plotter with default foptions set to "Yes"...

Description Usage Arguments Value

View source: R/functions.R

Description

factor_overview_plotter with default foptions set to "Yes" rather than aware_options.

Usage

1
2
3
yes_factor_overview_plotter(x, title_string, warning, demo_one, demo_two,
  foptions = c("Yes"), 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.


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