animate_gif | R Documentation |
This is Unix/Linux centric.
animate_gif( R, ..., mains = names(R), other_layers = NULL, width = 480, height = 480, output_filename = file.path(".", "animation.gif"), tmppath = tempfile(pattern = "animation"), convert_extra = "-loop 0 -delay 50" )
R |
a multi-layer raster object |
... |
further arguments for rasterVis::levelplot like
|
mains |
character vector of names to apply to each plot, by default the layer names |
other_layers |
a list of one or more latticeExtra::layer or list of layers |
width |
numeric image width in pixels |
height |
image height in pixels |
output_filename |
the name of the output file, by default 'animation.gif' |
tmppath |
string, temporary working directory to use |
convert_extra |
character of extra conver arguments. Defaults to "-loop 0 -delay = 50" for infinte looping and 0.5s per frame |
the numeric value returned by convert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.