Description Usage Arguments Value Examples
View source: R/simulateCommunity.R
Simulate the dynamics of the abundance of the species in the community with parameters reflecting the interaction intensity among members of the community.
1 | growthFunction(N, alpha, c0, ck, init)
|
N |
Number of members in the community. |
alpha |
1xN vector of intrinsic growth rate of each member of the community. |
c0 |
NxN matrix of pairwise interaction intensity in the community.
|
ck |
A list of N matrix, each with NxN entries. |
init |
1xN vector of initial abundance of each member in the community. |
A DataFrame, with row being each time point and columns species. The abundance vs. time plot is also rendered.
1 2 3 4 | # Simulate parameters for a 4 species community
param <- simulateParam(4)
abundance <- growthFunction(param$N, param$alpha, param$c0, param$ck,
param$init)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.