Description Usage Arguments Value Examples
Creates simple geographical heatmaps for easily visualizing
dispersion fields. Uses a dispersion field list generated by
the dsp_create_from_survey
and global shapefiles
of coastlines and country boundaries to sketch the background.
1 2 3 4 5 6 7 8 9 |
disp_fld_list |
The list of dispersion fields generated by the
|
scale |
Type of scale to be used for the legend. One of c("count","percentage"). Defaults "count". |
color_ramp |
Color palette to be used for the heat map. |
raster_latlim |
If disp_fld_list is a list of matrices, the latitudinal range of the dispersion fields must be provided as a vector. |
raster_longlim |
If disp_fld_list is a list of matrices, the longitudinal range of the dispersion fields must be provided as a vector. |
outline_col |
The outline color of the projected map. |
proj |
A character string of projection arguments; the arguments must be entered exactly as in the PROJ.4 documentation. To be evaluated by sp::CRS(). default '+proj=longlat +ellps=WGS84'. |
Returns a heatmap of the dispersion field using the specified raster
1 2 3 4 5 6 | data("dispersion_field_ex")
maps <- dsp_plot_map(dispersion_field_ex,
scale = "percentage",
raster_latlim = c(5,50),
raster_longlim = c(50,120))
maps[[1]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.