Description Usage Arguments Value Examples
Creates an animation showing the stepwise process of building up a ggplot. Successively adds calls from a ggghost object and then combines these into an animated GIF.
1 2 3 4 5 |
object |
A ggghost object to animate |
gifname |
Output filename to save the .gif to (not including any path, will be saved to current directory) |
interval |
A positive number to set the time interval of the animation
(unit in seconds); see |
ani.width |
width of image frames (unit in px); see
|
ani.height |
height of image frames (unit in px); see
|
TRUE
if it gets that far
1 2 3 4 5 | ## Not run:
## create an animation showing the process of building up a plot
reanimate(z, "mycoolplot.gif")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.