Description Usage Arguments Examples
Intervals are defined by 'x', 'ymin', and 'ymax'.
1 2 3 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
stat |
The statistical transformation to use on the data for this layer, as a string. |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
... |
other arguments passed on to |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
1 2 3 4 | df = data.frame(x = 0:2, y = c(0, 0.5, 1), lower = c(0.1, 0.7, 1.3), upper = c(-0.1, 0.4, 0.9))
ggplot(df, aes(x, y, ymin = lower, ymax = upper)) +
geom_line() + geom_errorline(linetype = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.