Description Usage Arguments Examples
Before using this function set your appropriate 'github.username' and 'github.password' options
1 | 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 http://bl.ocks.org |
... |
options passed onto |
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.