Description Usage See Also Examples
Ribbons, y range with continuous x values
1 | geom_ribbon(aesthetics = list())
|
geom_bar
: discrete intervals (bars)
geom_linerange
: discrete intervals (lines)
geom_polygon
: general polygons
1 2 3 4 5 | height <- runif(10)
df <- data.frame(x = 1:10, ymax = 5 + height, ymin = 5 - height)
geom_plot(geom_ribbon(), df)
geom_plot(geom_ribbon(list(colour = "red")), df)
geom_plot(geom_ribbon(list(colour = "red", fill = NA)), df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.