Skip to contents

Animate a SpatRaster object as a gif.

Usage

animation_raster(data, AOI = NULL, outfile, colors = blues9)

Arguments

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

Value

file.path

See also

Other viz: animation_vector(), animation()