make_edges: Calculate vertices for network visualisations.

Description Usage Arguments Value

View source: R/make_edges.R

Description

Calculates weightings between nodes for a network diagram.

Usage

1
2
3
4
5
6
7
make_edges(
  connections_data,
  node_id,
  node_number,
  connection_id,
  join_field = deparse(substitute(connection_id))
)

Arguments

connections_data

data detailing connections between nodes

node_id

field which identifies nodes

node_number

field identifying number for each node

connection_id

field identifying connecting objects

join_field

field to join connections data back onto itself

Value

A dataframe containing details of vertices between nodes, including weights.


shanej90/nodemaker documentation built on May 21, 2020, 12:08 a.m.