Animate a sf or SpatVect object as a gif.
Arguments
- data
a SpatVect or sf object
- feild_pattern
optional string vector to filter the desired attributes by
- outfile
path to write gif file, must have .gif extenstion
- colors
colors to plot with
See also
Other viz:
animation_raster()
,
animation()