SDS: Generates a list of dispersal vectors.

Description Usage Arguments Value Author(s) Examples

View source: R/SDS.R

Description

This function generates a set of spatial vectors whose length is sampled form a user-defined dispersal kernel and whose direction is sampled randomly from 1 degree to 360 degrees.

Usage

1
SDS(probDist, DIST, npop = 10000)

Arguments

probDist

Probability Distribution of npop.

DIST

vector of possible distances [m] to be sampled for dispersal.

npop

number of distance-angle couples that need to be produced.

Value

data frame of y and x shifts.

Author(s)

Luca Butikofer

Examples

1
2
3
dist<- seq(.1, 30, .1)
prob<- fx(x=dist, a=7, c=2)
deltas<- SDS(DIST=dist, probDist=prob)

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

Related to SDS in Biolinv...