Plot ggplot object to ppt
plot_gg_ppt(
gg,
out_ppt,
height = 6,
width = 6,
left = 5,
top = 5,
inches = FALSE,
sep_legend = FALSE,
transparent_bg = TRUE,
rasterize_plot = FALSE,
rasterize_legend = FALSE,
res = 300,
new_slide = FALSE,
overwrite = FALSE,
legend_height = NULL,
legend_width = NULL,
legend_left = NULL,
legend_top = NULL
)ggplot object
output pptx file
height in cm
width in cm
left alignment in cm
top alignment in cm
measures are given in inches
plot legend and plot separatly
make background of the plot transparent
rasterize the plotting panel
rasterize the legend panel. Works only when sep_legend=TRUE and rasterize_plot=TRUE
resolution of png used to generate rasterized plot
add plot to a new slide
overwrite existing file
legend position and size in case sep_legend=TRUE. Similar to to heigh,width,left and top. By default - legend would be plotted to the right of the plot.