animation_vector: Animate vector as GIF

View source: R/viz.R

animation_vectorR Documentation

Animate vector as GIF

Description

Animate a sf or SpatVect object as a gif.

Usage

animation_vector(data, feild_pattern = NULL, outfile, colors = blues9)

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

Value

file.path

See Also

Other viz: animation_raster(), animation()


mikejohnson51/climateR documentation built on March 27, 2024, 5:31 p.m.