find_jumps_wrapper: Find dispersal jumps

View source: R/find_jumps_wrapper.R

find_jumps_wrapperR Documentation

Find dispersal jumps

Description

Find dispersal jumps after having applied find_thresholds(). Prune points selected due to sector limits and secondary diffusion.

Usage

find_jumps_wrapper(
  dataset = grid_data,
  nb_sectors = 12,
  centroid = c(-75.67534, 40.41524),
  rotation = 1,
  gap_size = 15,
  negatives = T,
  crs = 4326
)

Arguments

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)

Value

Two data frames: Jumps containing the list of jumps, and potSecDiff containing potential secondary diffusion to be processed using find_secDiff()

Examples

jumps <- find_jumps(dataset)

nbelouard/slfjumps documentation built on July 27, 2024, 8:28 a.m.