
Last chance! 50% off unlimited learning
Sale ends in
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")
if (FALSE) {
plot(M)
}
Run the code above in your browser using DataLab