ggplotify

Convert Plot to 'grob' or 'ggplot' Object


Keywords
baseplot, ggplot2, grid, lattice, rstats, upsetr, vcd
License
Artistic-2.0

Documentation

ggplotify: plot everything in ggplot2

CRAN_Status_Badge

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.

Authors

Guangchuang YU https://guangchuangyu.github.io

School of Public Health, The University of Hong Kong

saythanks

Installation

Get the released version from CRAN:

install.packages("ggplotify")

Or the development version from github:

devtools::install_github("GuangchuangYu/ggplotify")

Vignette

For more details, please refer to the online vignette.