gge_describe: Descriptive Plots

gge_describeR Documentation

Descriptive Plots

Description

This function generate plots with all the variables in the data frame individually

Usage

gge_describe(
  df,
  group = NULL,
  weight = NULL,
  mean = TRUE,
  median = FALSE,
  conf.int = TRUE,
  quantile = FALSE,
  n.plots = 16,
  common.legend = TRUE,
  hist = FALSE,
  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

n.plots

integer, the number of plots to display in the grid

common.legend

boolean, if TRUE the plots uses a single legend

hist

boolean, if TRUE, histograms are displayed instead of densities for the numerical variables

legend.position

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


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