Description Usage Arguments Value
View source: R/make_random_stacked_density.R
Make a random stacked density plot
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), ...)
|
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()' |
'ggplot' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.