.getInteractions | R Documentation |
Generate interactions according to five types of interactions and their weights
.getInteractions(n_species, weights, connectance)
n_species |
Integer: defining the dimension of matrix of interaction |
weights |
Numeric: defining the weights of mutualism, commensalism, parasitism, amensalism, and competition in all interspecies interactions. |
connectance |
Numeric: defining the density of the interaction network. Ranging from 0 to 1 |
A matrix of interactions with all interactions changed according to the weights and connectance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.