Learn R Programming

htmlreportR (version 1.0.0)

get_plot: Get Plot from htmlReport Object

Description

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.

Value

Displays the plot within the HTML report.

Arguments

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

Details

Get Plot from htmlReport Object