star_box: geom_boxplot significance

Description Usage Arguments Value

View source: R/star_box.R

Description

Adds significance marks to a ggplot with a geom_boxplot.

Usage

1
star_box(gg, significance, rm.outliers = TRUE, fit = FALSE, dist = 0.05)

Arguments

gg

ggplot with a geom_boxplot to add significance marks.

significance

logical vector with the significant pairs.

rm.outliers

logical value the arc should fit the data with or without the outliers.

fit

logical value indicating if the arc should fit the shape of the data.

dist

numerical value indicating the distance from the arc to the data.

Value

gg ggplot with the geom_boxplot and the significance marks.


hclimente/ggstars documentation built on May 17, 2019, 3:08 p.m.