densities.plot: Plot densities for multiple modes.

Description Usage Arguments Value Examples

View source: R/densities.plot.R

Description

Plot densities for multiple modes.

Usage

1
2
densities.plot(x, modes = 1:4, mark_modes = TRUE, in_one = TRUE *
  (length(modes) < 4))

Arguments

x

Vector of data.

modes

The modes to plot density estimates for.

mark_modes

Whether or not to indicate modes in the plot.

in_one

Whether to produce one plot. Default is true for length(modes) < 4.

Value

The function does not return anything, but creates a plot.

Examples

1
densities.plot(c(rnorm(10), rnorm(10, mean = 10)))

jenzopr/silvermantest documentation built on Nov. 4, 2019, 2:39 p.m.