Identify independent locations of jump dispersal
Usage
group_jumps(jumps, gap_size = 15)
Arguments
- jumps
A dataset to be processed
- gap_size
Distance between the invasion front and the positive point
necessary for it to be considered a jump, in kilometers (default: 15)
Value
The same table as dataset
with an additional column named
group
and containing the group number for each jump
Examples
if (FALSE) { # \dontrun{
new_dataset <- group_jumps(dataset)
} # }