NPG: Generates points of natural origin.

Description Usage Arguments Value Author(s)

View source: R/NPG.R

Description

This function generates points of natural origin around existent points by sampling their distance from the original propagule from a user-defined dispersal kernel (as set in function SDS(), the output of which is to be entered in this function as argument 'Delta'.

Usage

1
NPG(PresLoc, N, Deltas, year)

Arguments

PresLoc

data frame with coordinates of sighting locations. Column 2 must be 'y' (latitude on a projected coordinate system with meters as distance unit of measure) and column 3 must be 'x' (longitude on a projected coordinate system with meters as distance unit of measure).

N

total number of points to generate.

Deltas

y and x shifts as generated from function SDS(). This function samples distance and angle of new points form existing ones from this argument.

year

the year lable to attach to the generated points

Value

data frame of combined source ('PresLoc' argument) and new locations.

Author(s)

Luca Butikofer


Biolinv documentation built on March 30, 2021, 5:13 p.m.

Related to NPG in Biolinv...