Relative Content

Tag Archive for rggplot2geom-segment

ggplot2 Custom Geom Line Glyphs Incorrect

Background I am developing a custom geom for ggplot2 in R that starts by building on geom_segment(): geom_custom <- function(mapping = NULL, data = NULL, stat = “identity”, position = “identity”, …, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) { out <- layer( data = data, mapping = mapping, stat = stat, geom […]