View source: R/animate_matrix.R
animate_matrix | R Documentation |
Animate matrix
animate_matrix( transformations, points_start = NULL, return_graph_objects = FALSE, return_static = FALSE, datasaurus = FALSE )
transformations |
List of matrix transformations to apply (length will determine total number of explicit frames in animation.) |
points_start |
Dataframe containing x and y columns of points that will be plotted (if any coordinate is greater than magnitude 5, coordinates will be automatically scaled down). |
return_graph_objects |
Logical indicating whether to return the dataframe containing the objects that would have gone into the animation. |
return_static |
Logical indicating whether to return the static ggplot graph. |
datasaurus |
Logical, where |
An animation created by gganimate
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.