Description Usage Arguments Details
Save a gganimate object to a file
1 | gganimate_save(g, filename = NULL, saver = NULL, fps = 1, loop = 0, ...)
|
g |
A gganimate object |
filename |
File to write to |
saver |
A string such as "mp4" or "gif" that specifies
a function from the animation package such as |
... |
Additional arguments passed on to the saving function, such as [pkg=ggplot2]{ggsave |
for GIFs or [pkg=animate]{saveVideo
If saving to a GIF, uses a custom method that takes advantage of redundant backgrounds (scales, static layers, etc).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.