make_random_stacked_area: Make random stacked area plot

Description Usage Arguments Details Value

View source: R/make_random_stacked_area.R

Description

Make random stacked area plot

Usage

1
2
3
make_random_stacked_area(groups = 20, n_colors = groups,
  color_palette = NULL,
  palette_colors = get_palette_colors(color_palette, n_colors))

Arguments

groups

num how many groups to create

n_colors

num how many different colors

color_palette

chr color palette

palette_colors

chr list of colors, usually generated from 'get_palette_colors()'

Details

Idea and code from 'https://www.r-graph-gallery.com/137-spring-shapes-data-art.html'

Value

'ggplot' object


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