make_random_stacked_density: Make a random stacked density plot

Description Usage Arguments Value

View source: R/make_random_stacked_density.R

Description

Make a random stacked density plot

Usage

1
2
3
make_random_stacked_density(n_lines = 9, n_rows = 1000,
  n_colors = n_lines, color_palette = NULL,
  palette_colors = get_palette_colors(color_palette, n_colors), ...)

Arguments

n_lines

num how many density lines

n_rows

num how many points (lower will give more variability)

n_colors

num how many colors to use; defaults to 'n_lines'

color_palette

chr which color palette to use

palette_colors

chr vector of colors from color palette, usually generated by 'get_palette_colors()'

...

other arguments passed on to 'layer()'

Value

'ggplot' object


jimtheflash/arrrt documentation built on April 5, 2020, 11:49 a.m.