Learn R Programming

gganimate (version 0.1)

print.gg_animate: Print a gganimate object, allowing browsing in RStudio

Description

Print a gganimate object as browsable HTML, which allows visualization directly in RStudio. If we are in knitr, directly print each of the images instead (you should use the fig.show = "animate" option in the chunk).

Usage

"print"(x, format = "gif", ...)

Arguments

x
gg_animate object
format
What format to display in, such as "gif" (default), "mp4", or "avi".
...
Extra arguments for the or