Create a new obsplot
obsplot(
data = NULL,
width = "auto",
height = "auto",
menu = getOption("obsplot_menu"),
elementId = NULL,
...
)
optional data.frame as primary data source
plot width. Use NULL to let Plot decide, or "auto" to let htmlwidgets decide
plot height. Use NULL to let Plot decide, or "auto" to let htmlwidgets decide
if TRUE, display a gear menu aside the plot with additional features. Can be set globally with options("obsplot_menu")
optional custom element id, passed to createWidget()
named options passed to Observable Plot