add_stat_to_barchart: Add the barchart values to the plot

Description Usage Arguments Details Value

View source: R/utilities.R

Description

Add the barchart values to the plot

Usage

1
2
add_stat_to_barchart(theplot, .data, x, y, supremum_error, scale.percent,
  percent)

Arguments

scale.percent

: A scaling factor: y,infimum_error and supremum_error will be multiply by scale.

theplot:

ggplot object to which add text

x:

x coordinates

y:

y coordinates

percent:

logical variable to use percentage format or not

Details

stat and position arguments are predifined as "identity" and "dodge"

Value

a ggplot objet


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