Description Usage Arguments Value Author(s)
A frame-based animation is one where we need to draw the entire state of the animation at regular intervals in time. By repeatedly drawing at a fast enough rate, we can create the illusion of smooth animation if desired.
This function works well in conjunction with the ‘animation’ package.
1 | frameApply(x, FUN = print, fps = 1, pause = TRUE)
|
x |
An animation object. |
FUN |
The function to call |
fps |
The number of frames to draw per second. |
pause |
Logical. Determines whether to sleep in-between drawing frames. |
None.
Paul Murrell.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.