Learn R Programming

plotly (version 4.10.3)

as.widget: Convert a plotly object to an htmlwidget object

Description

This function was deprecated in 4.0.0, as plotly objects are now htmlwidget objects, so there is no need to convert them.

Usage

as.widget(x, ...)

Arguments

x

a plotly object.

...

other options passed onto htmlwidgets::createWidget