customproto: Custom ggproto classes

customprotoR Documentation

Custom ggproto classes

Description

The cmapplot package contains a few custom ggproto objects. For the most part, these are slightly tweaked versions of ggplot2's default proto objects. For more information about these, see ggplot2::ggplot2-ggproto.

The cmapplot package contains a few custom ggproto objects. For the most part, these are slightly tweaked versions of ggplot2's default proto objects. For more information about these, see ggplot2::ggplot2-ggproto.

Functions

  • GeomRecessions: Add recession bars to plot.

  • GeomRecessionsText: Add recession bar labels to plot.

  • GeomTextLast: Add text to plot for maximum x-value in dataset only.

  • GeomPointLast: Add points to plot for maximum x-value in dataset only.

  • GeomTextLastRepel: Add text to plot for maximum x-value in dataset only.

  • GeomPointLast: Add points to plot for maximum x-value in dataset only.


CMAP-REPOS/cmapplot documentation built on March 29, 2025, 11:55 a.m.