View source: R/norm_density_plot.R
build_ribbons | R Documentation |
Build geom_ribbon objects for plotting a continuous distribution function
build_ribbons( ribbon_dat, fill_lower = rgb(0, 0.3, 0.8, 0.25), fill_middle = rgb(0, 0, 0, 0), fill_upper = rgb(0, 0.3, 0.8, 0.25), col_lower = "black", col_middle = "black", col_upper = "black" )
ribbon_dat |
data from which to beuld the ribbons |
fill_lower |
fill color for the lower tail |
fill_middle |
fill color for the non-tail part of the pdf |
fill_upper |
fill color for the upper tail |
col_lower |
border color for the lower tail |
col_middle |
border color for the non-tail part |
col_upper |
border color for the upper tail |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.