Description Usage Arguments Value Author(s) References See Also Examples
This function identifies the hotspot regions in a dataset, or in a submatrix compared to the total dataset, using an adaptation of the method of Malo et al. (2004).
1 2 3 |
dataset |
name of the matrix or dataframe containing the complete data |
submat |
name of the matrix or dataframe containing the data of the group and sampling window/gap for which to calculate hotspots |
region.column |
name or index number of the column containing the regions (road sectors, sites) to classify as hotspots or non-hotspots |
subsampl.columns |
index numbers of the consecutive columns of submat (or, if there is no submat, of the dataset) containing the (daily) sampling data, e.g. 4:180 |
n.events.column |
alternatively to |
hotspots |
logical, whether to calculate the hotspots |
confidence |
confidence threshold to consider hotspots |
min.total.events |
minimum total number of events to calculate hotspots. Not totally implemented yet! |
min.hotspot.threshold |
minimum number of events for a region to be considered a hotspot. If the Malo method says that regions with less than this value are hotspots, the value returned is NA. The default threshold is 2. |
A list with elements threshold
(an integer value indicating the number of deaths obtained as a threshold for considering a site a roadkill hotspot) and hotspots
(a data frame showing the total number of deaths per region and whether or not it was considered a hospot.)
A. Marcia Barbosa, J. Tiago Marques, Sara M. Santos
Malo, J.E., Suarez, F., Diez, A. (2004) Can we mitigate animal-vehicle accidents using predictive models? J. Appl. Ecol. 41, 701-710 (doi: 10.1111/j.0021-8901.2004.00929.x)
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.