obsplot: Create a new obsplot

View source: R/obsplot.R

obsplotR Documentation

Create a new obsplot

Description

Create a new obsplot

Usage

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


juba/obsplot documentation built on April 27, 2023, 5:28 a.m.