add_stat_to_boxplot: Add statistics values on boxplot

Description Usage Arguments Value

View source: R/utilities.R

Description

Add statistics values on boxplot

Usage

1
add_stat_to_boxplot(theplot, x, whisker_min, whisker_max, median)

Arguments

theplot:

ggplot

x:

element of .data that contains the different values of the categorical data

whisker_min:

element of .data containing the value of the lower whisher. Usually calculated as 1.5*IQR smallest value from the hinge

whisker_max:

element of .data containing the value of the upper whisher. Usually calculated as 1.5*IQR largest value from the hinge

median:

element of .data containing the median values

Value

a ggplot object


sharonorengo/visualisationIMPACT documentation built on Aug. 12, 2019, 3:34 p.m.