8.1 Packages

• gganimate package (contributors): gganimate is an extension of the grammar of graphics, as implemented by the ggplot2 package, that adds support for declaring animations using an API familiar to users of ggplot2 (see ??gganimate).
• How does it work?
• Produce plots for each of the variable values over which you animate
• Estimate in-between states (this is done automatically)
• Show frames (series of plots) as a film