Wrap plot instructions for png plotting in Powerpoint or Word
Wrap plot instructions for png plotting in Powerpoint or Word
A simple wrapper to capture plot instructions that will be executed and copied in a document. It produces an object of class 'plot_instr' with a corresponding method ph_with() and body_add_plot().
The function enable usage of any R plot with argument code. Wrap your code between curly bracket if more than a single expression.