Create a new obsplot

obsplot(
  data = NULL,
  width = "auto",
  height = "auto",
  menu = getOption("obsplot_menu"),
  elementId = NULL,
  ...
)

Arguments

data

optional data.frame as primary data source

width

plot width. Use NULL to let Plot decide, or "auto" to let htmlwidgets decide

height

plot height. Use NULL to let Plot decide, or "auto" to let htmlwidgets decide

menu

if TRUE, display a gear menu aside the plot with additional features. Can be set globally with options("obsplot_menu")

elementId

optional custom element id, passed to createWidget()

...

named options passed to Observable Plot