toChain: Converts an R list to a sequence of chained functions acting...

Description Usage Author(s) Examples

View source: R/toJSON.R

Description

Converts an R list to a sequence of chained functions acting on a specified object.

Usage

1
  toChain(x, obj)

Author(s)

Ramnath Vaidyanathan

Examples

1
2
3
4
5
## Not run: 
toChain(list(showControls = TRUE, showDistX = TRUE), "chart")
## chart.showControls(true).showDistX(true)

## End(Not run)

ramnathv/testapp1 documentation built on May 26, 2019, 10:55 p.m.