star_bar: geom_bar significance

Description Usage Arguments Value

View source: R/star_bar.R

Description

Adds significance marks to a ggplot with a geom_bar.

Usage

1
star_bar(gg, significance, fit = TRUE, dist = 0)

Arguments

gg

ggplot with a geom_bar to add significance marks.

significance

logical vector with the significant pairs.

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_bar and the significance marks.


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