Description Usage Arguments Examples
Render a ribbon.
1 2 3 | render_ribbon(data, x, y1, y2)
render_area(data, x, y2)
|
data |
A data frame. |
x,y1,y2 |
x location and y interval. |
1 2 3 4 5 | x <- 1:10
y <- runif(10, 0, 2)
df <- data.frame(x = x, y1 = x * 2 - y, y2 = x * 2 + y)
render_ribbon(df, ~x, ~y1, ~y2)
.Last.value %>% plot()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.