reshape_net | R Documentation |
Helper function to transform a network matrix (web) to a data frame, where each row represents an interaction between a low level and high level species (e.g. plant - pollinator).
reshape_net(net, abund = TRUE, seed)
net |
A network matrix (a web), e.g. |
abund |
Logic type ( |
seed |
A single integer value. Passed to |
Returns a data frame.
library(bootdissim) library(bipartite) # Considering abundance information Safariland_dt <- reshape_net(Safariland, abund = TRUE, seed = 1) # Without abundance information Safariland_dt <- reshape_net(Safariland, abund = FALSE, seed = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.