make_connections.Rd
Creates a dataframe of unique nodes and vertices combinations. For example, it might list all team members/nodes working on projects, connected via a project ID.
make_connections(data, node_col, connect_col, weight_col = NULL)
Dataframe holding the information you'd like to reformat
The data
column containing identifiers for nodes
The data
column containing the ids of objects connecting nodes, for example, project IDs, locations, mentees
A column from data
containing quantitative information to set edge width for connections in make_edges()
. Optional.
A dataframe containing details of connections between nodes via 'connecting objects'. Will include a unique node_number
column for use in downstream functions. Note this dataframe can have duplicate node-connecting object rows depending on the nature of the source dataframe.