Fruits | R Documentation |
Example data set to illustrate the use of the googleVis package.
data(Fruits)
A data frame with 9 observations on the following 7 variables.
Fruit
a factor with levels Apples
Bananas
Oranges
Year
a numeric vector
Location
a factor with levels East
West
Sales
a numeric vector
Expenses
a numeric vector
Profit
a numeric vector
Date
a Date
data(Fruits)
M <- gvisMotionChart(Fruits, idvar="Fruit", timevar="Year")
## Not run:
plot(M)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.