animateHTMLBy: Animate Densities by Dimension Values

Description Usage Arguments Examples

View source: R/animateHTMLBy.R

Description

Animate Densities by Dimension Values

Usage

1
2
3
animateHTMLBy(starsObj, attr, dim, title, anim_range = NULL, ...)

anim_factory(starsObj, attr, dim, title, anim_range = NULL, ...)

Arguments

starsObj

stars object

attr

attribute of interest

dim

grouping dimension

title

plot title

anim_range

if specified, dimension values along which to animate

...

arguments passed to plotDensityByDimensionValue()

Examples

1
animateHTMLBy(GISTEMP, 1, 3, "Australia", anim_range = 1981:2020, baseline = c(1951,1980), sf = rnaturalearth::ne_countries(country = "Australia", returnclass = "sf"))

JamesMCollier/densityviz documentation built on Dec. 18, 2021, 12:31 a.m.