View source: R/find_jumps_wrapper.R
find_jumps_wrapper | R Documentation |
Find dispersal jumps after having applied find_thresholds(). Prune points selected due to sector limits and secondary diffusion.
find_jumps_wrapper(
dataset = grid_data,
nb_sectors = 12,
centroid = c(-75.67534, 40.41524),
rotation = 1,
gap_size = 15,
negatives = T,
crs = 4326
)
dataset |
A data frame of unique points to be processed, ideally the dataset_unique resulting from find_thresholds() |
gap_size |
Distance between the invasion front and the positive point necessary for it to be considered a jump, in kilometers (default: 15) |
crs |
Coordinate system used for spatial layers (default: 4326) |
potJumps |
A data frame of potential jumps to be refined, resulting from find_thresholds() |
year |
Years to be considered (default: 2014 to 2020) |
Two data frames: Jumps
containing the list of jumps, and potSecDiff
containing
potential secondary diffusion to be processed using find_secDiff()
jumps <- find_jumps(dataset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.