join_weights_to_edge: Assign value of edge as either var_fin/var_fout

View source: R/network_analysis.R

join_weights_to_edgeR Documentation

Assign value of edge as either var_fin/var_fout

Description

Assign value of edge as either var_fin/var_fout

Usage

join_weights_to_edge(edge_data, dat, node_col, edge_col, direction = "var_fin")

Arguments

edge_data

Tibble of source-target edges.

dat

Vedar data tibble in long format with var_fin, var_fout data

node_col

The column in dat to use for node information.

edge_col

The column in dat to use for edge information.

direction

String value of attribute either "var_fin" or "var_fout"

Value

Tibble with source-target pairs for each flow and the pv value of the specified direction


DataScienceScotland/vedar documentation built on April 3, 2022, 10:32 p.m.