Grammar Extensions to 'ggplot2'

Extensions to 'ggplot2' respecting the grammar of graphics paradigm. Geomas: geom_table(), geom_plot() and geom_grob() add insets to plots using native data coordinates, while geom_table_npc(), geom_plot_npc() and geom_grob_npc() do the same using "npc" coordinates through new aesthetics "npcx" and "npcy". Statistics: select observations based on 2D density. Positions: radial nudging away from a center point and nudging away from a line or curve.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.4.2 by Pedro J. Aphalo, 3 months ago,

Report a bug at

Browse source code at

Authors: Pedro J. Aphalo [aut, cre] , Kamil Slowikowski [ctb]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports stats, grid, rlang, magrittr, glue, gridExtra, scales, tibble, dplyr, xts, zoo, MASS, polynom, lubridate, stringr

Depends on ggplot2

Suggests knitr, rmarkdown, gginnards, ggrepel, magick

Imported by RevGadgets.

Depended on by ggpmisc.

See at CRAN