randomDIFFUSE: Generate a random network

Description Usage Arguments Value

View source: R/randomDIFFUSE.R

Description

This function generates a random migratory network

Usage

1
2
randomDIFFUSE(nbreeding = 10, nwintering = 10, nstop = 30,
  pop = 1e+05, mean_dist = 0, sd_dist = 1500, toplot = TRUE)

Arguments

nbreeding

Number of breeding sites

nwintering

Number of wintering sites

nstop

Number of stopover sites (shared during north and south migration)

pop

population size flowing through network

mean_dist

average distance the species can travel (this can be estimated from real data)

sd_dist

standard deviation of the distances a species can travel (this can be estimated from real data)

toplot

TRUE/FALSE to determine whether the output is plotted or not

Value

a list containting the network which was randomly generated, the tracks that were randomly generated, and the sites that were randomly generated for animals to use.


KiranLDA/migflow documentation built on Aug. 8, 2019, 8:55 p.m.