The function generates a map per year of the number of weeks that each ovitrap was hotspots.

map_eggs_hotspots(betas, locality, cve_edo, palette, name, static_map)

Arguments

betas

is the betas of inla spde model.

locality

is the target locality.

cve_edo

is the id of state.

palette

is the palette name package and function. example rcartocolor::carto_pal.

name

is the name of palette.

static_map

is logical value (TRUE o FALSE). if the value es TRUE the map is static, else the map es interactive.

Value

a ggplot map.

Author

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

Examples

1+1
#> [1] 2