powered by
convert plot to ggplot object
as.ggplot(plot, scale = 1)
base or grid plot, or graphic generated by ggplot, lattice, etc.
scale of the plot to be drawn
ggplot object
# NOT RUN { as.ggplot(~barplot(1:10)) # }
Run the code above in your browser using DataLab