Description Usage Arguments Value Author(s)
draw a shade between two lines in ggplot2; adapted from http://mcfromnz.wordpress.com/2014/06/02/shading-between-two-lines-ggplot/
1 | shade.between.lines ( d )
|
data |
a data frame; first column contains values on x-axis, second column contains values on y-axis; can contain further columns that are looped through |
A data frame with two additional columns: polygr.group are the groups to be passed to geom_polygon, polygr.sort is the order in which the data.frame has to be
adapted from http://mcfromnz.wordpress.com/2014/06/02/shading-between-two-lines-ggplot/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.