animap_areal: animap_areal

View source: R/animap_areal.R

animap_arealR Documentation

animap_areal

Description

Animated map areal of dengue cases by municipality

Usage

animap_areal(
  data,
  year,
  name,
  dir,
  country,
  breaks = NULL,
  vel,
  save,
  cve_edo = NULL,
  dot = NULL,
  pal = NULL
)

Arguments

data

is dengue dataset.

name

is the name of the gif file.

dir

is the directory where the animation will be saved.

country

is logical value for indicating if the map is for all country o by state.

breaks

is the numeric for defining the breaks of legend.

vel

vel is the delay time between images. See also tmap_animation.

save

is the logical value for indicating if the gif is saved or not.

cve_edo

is the id of state according the https://www.inegi.org.mx/default.html.

dot

is the logical value, if dot TRUE the tmap is dot, else is areal.

pal

is the palette.

Details

tmap_animation.

Value

a gif file of animation.

Author(s)

Felipe Antonio Dzul Manzanilla felipe.dzul.m@gmail.com

See Also

tmap_animation

Examples

1+1

fdzul/boldenr documentation built on April 15, 2024, 10:22 p.m.