create_ribbon: Create a Ribbon Plot

View source: R/create_fun_plots.R

create_ribbonR Documentation

Create a Ribbon Plot

Description

Create a fun plot with geom_ribbon from ggplot2

Usage

create_ribbon(p, w = 50, h = 30, legend = TRUE)

Arguments

p

ggplot2 object where the ribbon plot should be added to

w

width of the canvas

h

height of the canvas

legend

boolean indicating whether the legend should be displayed

Value

a plot with ribbons


sarazong/SZRtools documentation built on Feb. 8, 2024, 6:49 a.m.