This is ggplot2's segment with rounded ends. It's mainly included in ggmap for historical reasons.
Single line segments with rounded ends
geom_leg(mapping = NULL, data = NULL, stat = "identity",
position = "identity", arrow = NULL, lineend = "round",
na.rm = FALSE, show.legend = NA, inherit.aes = TRUE, ...)geom_leg(mapping = NULL, data = NULL, stat = "identity",
position = "identity", arrow = NULL, lineend = "round",
na.rm = FALSE, show.legend = NA, inherit.aes = TRUE, ...)
mapping
data
stat
position
arrow
Line end style (round, butt, square).
If FALSE
, the default, missing values are removed with
a warning. If TRUE
, missing values are silently removed.
logical. Should this layer be included in the legends?
NA
, the default, includes if any aesthetics are mapped.
FALSE
never includes, and TRUE
always includes.
It can also be a named logical vector to finely select the aesthetics to
display.
If FALSE
, overrides the default aesthetics,
rather than combining with them. This is most useful for helper functions
that define both data and aesthetics and shouldn't inherit behaviour from
the default plot specification, e.g. borders()
.
...
only intended for use in ggmap package. only designed for mercator projection.
only intended for use in ggmap package. only designed for mercator projection.
geom_segment in ggplot2, inspired by
http://spatialanalysis.co.uk/2012/02/great-maps-ggplot2/,
route
geom_segment in ggplot2, inspired by
http://spatialanalysis.co.uk/2012/02/great-maps-ggplot2/,
route