geom_ssdsegment {ssdtools} | R Documentation |
Species Sensitivity Censored Segments
Description
Uses the empirical cumulative distribution to draw lines between points x
and xend
.
Usage
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
)
Arguments
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 |
See Also
Other ggplot:
geom_hcintersect()
,
geom_ssdpoint()
,
geom_xribbon()
,
scale_colour_ssd()
,
ssd_pal()
Examples
ggplot2::ggplot(ssddata::ccme_boron, ggplot2::aes(x = Conc, xend = Conc * 2)) +
geom_ssdsegment()