geom_ssdsegment | R Documentation |
Uses the empirical cumulative distribution to draw lines between points x
and xend
.
geom_ssdsegment(
mapping = NULL,
data = NULL,
stat = "ssdsegment",
position = "identity",
...,
arrow = NULL,
arrow.fill = NULL,
lineend = "butt",
linejoin = "round",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE
)
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, either as a |
position |
Position adjustment, either as a string naming the adjustment
(e.g. |
... |
Other arguments passed on to |
arrow |
specification for arrow heads, as created by |
arrow.fill |
fill colour to use for the arrow head (if closed). |
lineend |
Line end style (round, butt, square). |
linejoin |
Line join style (round, mitre, bevel). |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
ssd_plot_cdf()
Other ggplot:
geom_hcintersect()
,
geom_ssdpoint()
,
geom_xribbon()
,
scale_colour_ssd()
,
ssd_pal()
ggplot2::ggplot(ssddata::ccme_boron, ggplot2::aes(x = Conc, xend = Conc * 2)) +
geom_ssdsegment()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.