Description Usage Arguments Author(s) References See Also Examples
batch analysis of basic statistics for each of the output scenarios under multiple-species model as follows: number of parameter combination that lead to s1 species survive across the patches, while s2 species was extinct; number of parameter combination that lead to s2 species survive across the patches, while s1 species was extinct; number of parameter combination that lead to coexsistence of both both species across the patches; The other five parameters were "r1","r2","disp","comp1","comp2" respectively, representing the growth rates, patch connectivity, and competition ability of species 1 and 2.
1 | batch.mcoexistence(out, island = 10, spnum = 2)
|
out |
|
island |
number of patches in the simulation, default is 10 |
spnum |
number of species in the simulation (>=2), default is 2 |
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 14 15 16 | ##---- 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 (out, island = island, spnum = 2)
{
colist <- list()
scenarionum <- length(out)
length(colist) <- scenarionum
for (i in 1:scenarionum) {
colist[[i]] <- sta.mcoexistence(out[[i]], island = island,
spnum = spnum)
}
return(colist)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.