Description Usage Arguments Value
View source: R/randomDIRECTED.R
This function generates a random migratory network
1 2 | randomDIRECTED(nbreeding = 3, nwintering = 4, nstop = 10,
pop = 1e+05, mean_dist = 1000, sd_dist = 200, toplot = TRUE)
|
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.