| base2grob {ggplotify} | R Documentation |
convert base plot to grob object
base2grob(x)
x |
expression or formula of base plot function call, e.g. expression(pie(1:5)) or ~plot(1:10, 1:10); or a function that plots to an R graphics device when called, e.g. function() plot(sqrt) |
grob object
Guangchuang Yu
base2grob(~plot(rnorm(10)))