animation_raster | R Documentation |
Animate a SpatRaster object as a gif.
animation_raster(data, AOI = NULL, outfile, colors = blues9)
data |
a single SpatRast object |
AOI |
optional AOI sf or SpatVect object to overlay on gif |
outfile |
path to write gif file, must have .gif extenstion |
colors |
colors to plot with |
file.path
Other viz:
animation()
,
animation_vector()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.