The layers are real ggplot2 extensions: each geom_*() is a
layer built on one of these, with its own default aesthetics, required
aesthetics and legend glyph, so they take part in scales, guides and the
position system like any geom, and can be extended with
ggplot2::ggproto(). Until 0.6.0 every layer was a thin wrapper
around a stock geom and borrowed its glyph.
GeomChangepointa vertical rule at each
xintercept(geom_changepoint()); key: a vertical rule.GeomCptSegmenta segment level (
geom_cpt_segment()).GeomCptCia horizontal interval with caps (
geom_cpt_ci()); key: the same interval.GeomCptRegiona band from
xmintoxmax, full height unlessymin/ymaxare mapped (geom_cpt_region()); key: a shaded band.GeomCptLabela labelled interval behind the series (
geom_cpt_label()).GeomCptEventa dotted rule with its label (
geom_cpt_event()); key: a dotted rule with a flag.StatChangepoint,StatCptRegiondetection inside the layer (
stat_changepoint(),stat_cpt_region()).
See also
Other ggplot2 layers:
geom_changepoint(),
geom_cpt_ci(),
geom_cpt_event(),
geom_cpt_label(),
geom_cpt_region(),
geom_cpt_segment(),
stat_changepoint(),
stat_cpt_region()
