A Grammar of Animated Graphics

The grammar of graphics as implemented in the 'ggplot2' package has been successful in providing a powerful API for creating static visualisation. In order to extend the API for animated graphics this package provides a completely new set of grammar, fully compatible with 'ggplot2' for specifying transitions and animations in a flexible and extensible way.


News

gganimate 1.0.2

  • Fix registration of S3 methods for suggested packages

gganimate 1.0.1

  • Fix bug in transitions when the group aesthetic was late evalued (#262)
  • Better fade support for geom_smooth(). Both ribbon and line will now fade.
  • Fix bug in transitions when group aesthetic was a string that could be interpreted as a double (#266)
  • Fix bug in shadow_mark() where future shadows were drawn above the main frame data.
  • Better error messages when a layer type is not supported by the transition
  • Fix bug where transitions didn't work with difftime/hms for specifying durations when transition variable was a POSIX or date class.
  • Fix bug where using a view would modify the plot coordinate system in-place, resulting in modifications to the original plot object.
  • view_follow now works with transformed scales.

gganimate 1.0.0

  • First CRAN release, featuring a complete rewrite... Too much stuff to put in a changelog

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gganimate")

1.0.3 by Thomas Lin Pedersen, 6 months ago


http://github.com/thomasp85/gganimate


Report a bug at http://github.com/thomasp85/gganimate/issues


Browse source code at https://github.com/cran/gganimate


Authors: Thomas Lin Pedersen [aut, cre] , David Robinson [aut] , RStudio [cph]


Documentation:   PDF Manual  


Task views: Teaching Statistics


MIT + file LICENSE license


Imports stringi, tweenr, grid, rlang, glue, progress, plyr, scales, grDevices, utils

Depends on ggplot2

Suggests magick, svglite, knitr, rmarkdown, testthat, base64enc, htmltools, covr, transformr, av, png, gifski


Imported by plotdap.

Suggested by SSOSVM, ggraph, rerddapXtracto, samc, spinifex, tidybayes.


See at CRAN