This is a simple class for gif files that takes care printing the file
correctly in different environment (e.g. knitr, RStudio, etc.). If your
renderer produces a gif file you can wrap the final output in gif_file
to
get all of these benefits for free.
The gif file to be wrapped
A gif_image
object
Arguments passed on
a ‘factor’ in the sense that as.factor(f) defines the grouping, or a list of such factors in which case their interaction is used for the grouping.
logical indicating if levels that do not occur should be dropped
(if f
is a factor
or a list).
gif_file
returns a gif_image
object. split
returns a list of
magick-image
objects and requires magick to work.