Expand a sigmoidal line to a ribbon by adding ymin
sigribbon(sigline, height, from = "top")
Arguments
- height
The desired height of the ribbon
- from
Whether the line should be treated as the "top", "bot"(tom), or "mid"(dle) of the ribbon
- signline
a data.frame with x and y coordinates for a sigmoidal line
Value
a data.frame with coordinates x, y, and ymin for the ribbon.