( in development )

Complex lines in ggplot2

Complex line geoms:

  • geom_curve()

  • geom_abline()

  • geom_segment()

  • geom_hline()

  • geom_vline()

geom_curve()

BASICS:

Code
ggp2_curve_base <- ggplot(data = seals,
  mapping = aes(x = long, y = lat)) 
ggp2_curve_base +
  geom_curve(aes(yend = lat + 1, xend = long + 1), 
      curvature = 2)

AESTHETICS:

The required aesthetics are:

Optional aesthetics include:

ARGUMENTS: