staticmap_intensity.Rd
This function generate the intensity map of hotspots.
staticmap_intensity(
x,
pal,
option = NULL,
name = NULL,
pal_name,
breaks,
dir_pal = NULL,
x_leg,
y_leg,
ageb
)
is the hotspots dataset.
is the palette.
is the palette option.
is the palette name. the option and name are very similar, some package use name (ej. rcartocolor::carto_pal) and other option (ex. viridis:viridis)
is a logical value, if pal_name TRUE is for packages that use name, else the packages that use option.
is a numeric value. Is the increment of the sequence.
is the direction of the palette, 1 forward, -1 reverse.
is the x coordinates of legend.
is the x coordinates of legend.
is a logical value, if ageb is TRUE plot the intensity map of ageb, else plot the intensity map by other spatial unit.
a ggplot map.
1+1
#> [1] 2