shade.between.lines {eatTools} | R Documentation |
draw a shade between two lines in ggplot2; adapted from http://mcfromnz.wordpress.com/2014/06/02/shading-between-two-lines-ggplot/
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/