shade.between.lines: draw a shade between two lines in ggplot2

Description Usage Arguments Value Author(s)

Description

draw a shade between two lines in ggplot2; adapted from http://mcfromnz.wordpress.com/2014/06/02/shading-between-two-lines-ggplot/

Usage

1
shade.between.lines ( d )

Arguments

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

Value

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

Author(s)

adapted from http://mcfromnz.wordpress.com/2014/06/02/shading-between-two-lines-ggplot/


eatTools documentation built on May 2, 2019, 4:44 p.m.