as_widget

0th

Percentile

Convert a list to a plotly htmlwidget object

Convert a list to a plotly htmlwidget object

Usage
as_widget(x, ...)
Arguments
x

a plotly object.

...

other options passed onto htmlwidgets::createWidget

Aliases
  • as_widget
Examples
library(plotly) # NOT RUN { trace <- list(x = 1, y = 1) obj <- list(data = list(trace), layout = list(title = "my plot")) as_widget(obj) # }
Documentation reproduced from package plotly, version 4.5.2, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.