funplot: Initialise

Description Usage Arguments Examples

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 May 26, 2019, 7:28 a.m.