get_interactions | R Documentation |
Helper function which constructs two vectors of species interactions (e.g. plant - pollinator) for two network interactions provided as data frames.
get_interactions(net1, net2)
net1, net2 |
Two data frames of interactions, for example constructed
with |
Returns a list of two character vectors.
library(bootdissim) library(bipartite) net1 <- reshape_net(vazarr, seed = 1) net2 <- reshape_net(vazcer, seed = 1) vect <- get_interactions(net1, net2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.