Convert Plot to 'grob' or 'ggplot' Object

Convert plot function call (using expression or formula) to 'grob' or 'ggplot' object that compatible to the 'grid' and 'ggplot2' ecosystem. With this package, we are able to e.g. using 'cowplot' to align plots produced by 'base' graphics, 'grid', 'lattice', 'vcd' etc. by converting them to 'ggplot' objects.

Tests Vignettes

Available Snapshots

This version of ggplotify can be found in the following snapshots:


Imports/Depends/LinkingTo/Enhances (4)
  • R
  • ggplot2
  • gridGraphics
  • yulab.utils
  • Suggests (8)
  • aplot
  • colorspace
  • cowplot
  • ggimage
  • knitr
  • rmarkdown
  • prettydoc
  • vcd
  • Version History