Useful geometries for strat diagrams

geom_col_segsh(
  mapping = NULL,
  data = NULL,
  stat = "identity",
  position = "identity",
  ...,
  xend = 0,
  arrow = NULL,
  arrow.fill = NULL,
  lineend = "butt",
  linejoin = "round",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE
)

geom_col_segs(
  mapping = NULL,
  data = NULL,
  stat = "identity",
  position = "identity",
  ...,
  yend = 0,
  arrow = NULL,
  arrow.fill = NULL,
  lineend = "butt",
  linejoin = "round",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE
)

GeomColSegsh

GeomColSegs

GeomLineh

Arguments

mapping, data, stat, position, arrow, arrow.fill, lineend, linejoin, na.rm, show.legend, inherit.aes, ...

See geom_segment.

xend, yend

The end of the horizontal or vertical segment bars, respectively.

Format

An object of class GeomColSegsh (inherits from GeomSegment, Geom, ggproto, gg) of length 4.

An object of class GeomColSegs (inherits from GeomSegment, Geom, ggproto, gg) of length 4.

An object of class GeomLineh (inherits from GeomPath, Geom, ggproto, gg) of length 2.

Value

A ggplot2 layer