Convert a list of ggplots to an interactive animation and post files as a gist
Before using this function set your appropriate 'github.username' and 'github.password' options
animint2gist(plot.list, description = plot.list$title, browse = TRUE, ...)
plot.list |
a named list of ggplots and option lists. |
description |
Brief description of gist. This becomes the plot title on the bl.ocks/username page. |
browse |
logical. Prompt browser to view viz on bl.ocks.org |
... |
options passed onto |
## Not run: library(animint) iris$id <- 1:nrow(iris) viz <- list(petal=ggplot()+ geom_point(aes(Petal.Width, Petal.Length, fill=Species, clickSelects=id), data=iris), sepal=ggplot()+ geom_point(aes(Sepal.Width, Sepal.Length, fill=Species, clickSelects=id), data=iris)) animint2gist(viz, description = "My animint plot") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.