R/mp_heatmap_edo.R
mp_heatmap_edo.Rd
The mp_heatmap_edo function generates a heatmap by state.
mp_heatmap_edo(cve_edo, geocoded_dataset, week, kernel, alpha, palette)
is a string of the state id.
is geocoded dataset.
It is epidemiological week.
It is kernel density for select the blocks.
is a numerical parameter that controls the transparency of the heatmap. Values range from 0 to 1, where 0 is completely transparent and 1 does not make the heat map transparent.
is the palette for kde. example palette = viridis::turbo.
It is a numerical value to select the Status of the case. There are three options, 1 for the probable cases database, 2 for the confirmed cases database, and 3 for the discarded cases database.
ggplot object
1+1
#> [1] 2