gge_histogram: Plot histograms

gge_histogramR Documentation

Plot histograms

Description

Plot histograms

Usage

gge_histogram(
  df,
  group = NULL,
  weight = NULL,
  mean = T,
  median = F,
  conf.int = T,
  quantile = F,
  legend.position = "top"
)

Arguments

df

a data frame

group

a string with the name of the varible(s) to group the plots

weight

a string with the name of the varible containing the weights. They are used to compute the summary stattistics

mean

boolean, if TRUE, displays a line with the averave value

median

boolean, if TRUE, displays a line with the median value

conf.int

boolean, if TRUE, displays lines with the 95% confidence interval (it is meaningful for variables that normally distributed)

quantile

boolean, if TRUE, displays lines with the 25% and 75% quantiles

legend.position

a string (top, bottom, left (Default)), right

Details

All the variables in the data frame will be plotted


DiogoFerrari/edar documentation built on May 8, 2022, 8:26 a.m.