View source: R/Randomization_functions.R
randomize_all | R Documentation |
During the full randomisation procedure, ALL interspecific interaction strengths are randomly reshuffled within the network. Intraspecific interactions, the diagonal matrix elements are not affects and network topology is preserved (zeros remain in place).
randomize_all(df, ij_col, ji_col)
df |
interaction table (created by interaction_strenghts()) |
ij_col |
column of |
ji_col |
column of |
The function returns a new interaction table that contains two new columns $a_ij_rand and $a_ji_rand that contains the same values as the original columns but in a different order.
To get a fully randomised Jacobian matrix, use assemble_jacobian() and specify the new columns.
interaction table with two additional columns $a_ij_rand and $a_ji_rand that contain the interaction strengths in a randomised order
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.