| as.ggplot {ggplotify} | R Documentation | 
as.ggplot
Description
convert plot to ggplot object
Usage
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
as.ggplot(~barplot(1:10))
[Package ggplotify version 0.1.2 Index]