Description Usage Arguments Details Value See Also
result_plot
add a ggplot2 graph to the docx object which can then be
inserted into Microsoft Word
1 | result_plot(mydoc, graph, title = NULL)
|
mydoc |
A docx object |
graph |
A ggplot2 object |
title |
An optional character string, if not NULL (default), the title will be added above the plot |
This function takes a ggplot2 graph and adds the plot to the docx object which is returned. The docx object can then be written to a Microsoft Word document.
A docx object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.