add_anyplot {rrtable} | R Documentation |
Add a ggplot or a plot to the Microsoft Office Document
Description
Add a ggplot or a plot to the Microsoft Office Document
Usage
add_anyplot(
doc,
x = NULL,
plottype = "auto",
left = 1,
top = 2,
width = 8,
height = 5.5
)
Arguments
doc |
A document object |
x |
An object of class ggplot2 or a string encoding plot or ggplot |
plottype |
character One of c("auto","plot","ggplot","emf") |
left |
left margin |
top |
top margin |
width |
desired width of the plot |
height |
desired height of the plot |
[Package rrtable version 0.3.0 Index]