link_nodes_between_groups | R Documentation |
Create species in a Xu problem by creating links between nodes in different groups. Each link will represent a species that appears on the planning units at each end of the link and those planning units are in separate groups. Assumes that all groups and their within group links have already been built.
link_nodes_between_groups( target_num_links_between_2_groups_per_round, num_rounds_of_linking_between_groups, n__num_groups, nodes, edge_list, cur_row )
target_num_links_between_2_groups_per_round |
integer |
num_rounds_of_linking_between_groups |
integer |
n__num_groups |
integer |
nodes |
data frame containing integer node_ID, integer group_ID, and boolean dependent_set_member |
edge_list |
two column integer matrix of node IDs with one row for each edge and columns for the 2 ends of the edge |
cur_row |
integer |
Returns edge_list as two column integer matrix of node IDs with one row for each edge and columns for the 2 ends of the edge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.