geom_segment2
geom_segment2 support aes(subset) via setup_data
geom_segment2( mapping = NULL, data = NULL, stat = "identity", position = "identity", lineend = "butt", na.rm = FALSE, show.legend = NA, inherit.aes = TRUE, nudge_x = 0, arrow = NULL, arrow.fill = NULL, ... )
mapping |
aes mapping |
data |
data |
stat |
Name of stat to modify data |
position |
position |
lineend |
lineend |
na.rm |
logical |
show.legend |
logical |
inherit.aes |
logical |
nudge_x |
horizontal adjustment of x |
arrow |
specification for arrow heads, as created by arrow(). |
arrow.fill |
fill color to usse for the arrow head (if closed). |
... |
additional parameter |
add segment layer
Guangchuang Yu
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.