
Fruits: googleVis example data set
Fruits.RdExample data set to illustrate the use of the googleVis package.
Usage
data(Fruits)Format
A data frame with 9 observations on the following 7 variables.
Fruita factor with levels
ApplesBananasOrangesYeara numeric vector
Locationa factor with levels
EastWestSalesa numeric vector
Expensesa numeric vector
Profita numeric vector
Datea Date
Examples
data(Fruits)
M <- gvisMotionChart(Fruits, idvar="Fruit", timevar="Year")
#> Warning: Flash charts are no longer supported by most browsers.
#> An alternative is plotly::ggplotly.
#> For more see https://plotly.com/r/animations/#mulitple-trace-animations
if (FALSE) { # \dontrun{
plot(M)
} # }