iplot.data | R Documentation |
This function retrieves the associated data from the current plot.
iplot.data(id=NULL)
id |
number of the variable to retrieve. If omitted a list of all associated varaibles (and their contents) is returned. |
A vector representaing a variable or a list of variable contents. The
first two vecctors in the list are traditionally named x
and
y
. The number of variables depends on the plot used,
e.g. scatter plot has two, histogram or bar chart return one.
iplot
, ihist
, ibar
data(iris) attach(iris) iplot(Sepal.Width,Petal.Width) iplot(Sepal.Width/Sepal.Length, Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.