View source: R/create_fun_plots.R
create_ribbon | R Documentation |
Create a fun plot with geom_ribbon from ggplot2
create_ribbon(p, w = 50, h = 30, legend = TRUE)
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 |
a plot with ribbons
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.