| simulate_interaction_counts | R Documentation |
Simulate an interaction-count matrix
simulate_interaction_counts(network, size = 100L, seed = NULL)
network |
Ecological network or nonnegative numeric matrix. |
size |
Nonnegative integer total number of interactions. |
seed |
Optional nonnegative integer seed. A supplied seed produces a repeatable draw without changing the caller's global random state. |
An integer matrix with the input dimensions and names. Counts sum to size when positive probability mass exists; otherwise all entries are zero.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.