get_plot {htmlreportR} | R Documentation |
This method generates and retrieves a plot from an htmlReport
object. This code writes the plot to a temporal png, then it loads the png in base64 encoding and then displays the plot within the HTML report.
plot_obj |
A plot object like ggplot. |
width |
plot width |
height |
plot height |
size_unit |
units in plot size |
img_properties |
string including html properties of img |
resizable |
logical indicating if plot must be resizable |
Get Plot from htmlReport Object
Displays the plot within the HTML report.