as.ggplot: as.ggplot

Description Usage Arguments Value Author(s) Examples

View source: R/as-ggplot.R

Description

convert plot to ggplot object

Usage

1
as.ggplot(plot, scale = 1, hjust = 0, vjust = 0, angle = 0, ...)

Arguments

plot

base or grid plot, or graphic generated by ggplot, lattice, etc.

scale

scale of the plot to be drawn

hjust

horizontal adjustment

vjust

vertical adjustment

angle

angle to rotate plot

...

additional parameters passed to as.grob

Value

ggplot object

Author(s)

Guangchuang Yu

Examples

1

Example output



ggplotify documentation built on Sept. 5, 2021, 5:28 p.m.