Description Usage Arguments Author(s) References See Also Examples
initialization of species' abundance across the patches/islands prior to dispersal/competition interactions
1 | spabundance(island, abund = 1000)
|
island |
number of patches |
abund |
initial abundance of species at the source patch (leftmost) |
Youhua Chen <yhchen@zoology.ubc.ca>
Chen YH (2012) coexist: an R package for performing species coexistence modeling and analysis under asymmetric dispersal and fluctuating source-sink dynamics. http://code.google.com/p/coexist.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (island, abund = 1000)
{
sabund <- vector()
length(sabund) <- island
sabund[1] = abund
sabund[2:island] = 0
return(sabund)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.