gge_density: Plot densities

gge_densityR Documentation

Plot densities

Description

Plot densities of all numerical variables in the data frame

Usage

gge_density(
  df,
  group = NULL,
  weight = NULL,
  mean = TRUE,
  median = FALSE,
  conf.int = TRUE,
  quantile = FALSE
)

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


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