Description Usage Arguments Value Examples
View source: R/removing_and_randomizing.R
This function removes each species in turn, randomizing the resulting matrix and returning the desired metric value for the resulting random subnetworks
1 2 | removing_and_randomizing(network, index, network_level = "higher",
sums_to_preserve = "both", datatype = "list", nreplicates = 1000)
|
network |
Your input object |
index |
The network-level metric, from bipartite, which you desire to be calculated |
network_level |
The network level to be removing and randomizing. Currently only 'higher' works |
sums_to_preserve |
preserve sums of columns, rows, or both |
datatype |
is it a matrix of interactions, or a list of matrixes? |
nreplicates |
How many iterations of the randomisation should be done per species removal |
gives a dataset of values when you remove a species from a network, and the values obtained when randomising this subnetwork
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.