plot_stacked_density: Create a stacked stacked density chart

Description Usage Arguments Value

View source: R/plot_stacked_density.R

Description

Create a stacked stacked density chart

Usage

1
2
3
plot_stacked_density(x, grp, xlim = c(0, 1), xlab = "Value",
  ylab = "Group", y_labels = NULL, mar = c(3, 5, 3, 2, 1), mgp = c(2,
  0.7, 0), tck = -0.01, ...)

Arguments

x

values for the density plot.

grp

variable containing the membership to groups.

xlim

plotting limits of the x-axis.

xlab

label of the x-axis.

ylab

label of the y-axis.

y_labels

labels at the ticks of the y-axis.

mar

A numeric vector which give the margin on the four sides of the plot. For more detail ?par.

mgp

The margin line for the axis title, labels and line. For more detail ?par.

tck

The length of the tick marks. For more detail ?par.

...

Further arguments passed to par.

Value

A stacked density chart showing the density of x in the different groups contained in grp


DaanNieboer/DCTFmisc documentation built on May 29, 2019, 12:06 a.m.