quick_boxplot: boxplot quick function

Description Usage Arguments Details Value Examples

View source: R/quick_boxplot.R

Description

this function creates a quick boxplot for visualizing categorical and continuous variables in ggplot2

Usage

1
quick_boxplot(data, x, y, na.rm = FALSE)

Arguments

data

any dataset

x

is a categorical variable in the dataset

y

is a continuous variable in the dataset

na.rm

will keep 'NA' values in the boxplot

Details

the function will keep NA values

the function will be tested for the creation and printing of the object, as well as correct axis labels

Value

a tidy, simple boxplot

Examples

1
2
3
quick_boxplot(datateachr::cancer_sample, diagnosis, perimeter_mean)
quick_boxplot(datateachr::cancer_sample, diagnosis, symmetry_mean)
quick_boxplot(datateachr::cancer_sample, diagnosis, area_mean)

mchester/assignment_b2 documentation built on Dec. 21, 2021, 3:58 p.m.