funplot: Initialise

Description Usage Arguments Examples

View source: R/function-plot.R

Description

Initialise a funplot.

Usage

1
funplot(width = NULL, height = NULL, elementId = NULL)

Arguments

width, height

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.

elementId

id of container (optional).

Examples

1
2
funplot() %>%
  fun_add("sin(x)")

JohnCoene/funplot documentation built on March 19, 2018, 5:07 a.m.