Learn R Programming

webvis (version 0.0.1)

pv.dataset: Add a dataset as a variable to the visualization.

Description

Add a dataset as a variable to the visualization.

Usage

pv.dataset(data, name)

Arguments

data
The dataset to be used in the graphic.
name
The name of the dataset.

Value

  • A string of the relevant javascript.

Details

pv.dataset Add a dataset as a variable to the visualization.

References

http://vis.stanford.edu/protovis/

Examples

Run this code
pv.dataset(data=data.frame(wheat=1:10), name="wheat")

Run the code above in your browser using DataLab