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

View source: R/deprecated.R

as.widgetR Documentation

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


ropensci/plotly documentation built on Jan. 25, 2024, 6:09 p.m.