Gets commuting rate for all nodes (includes individual node function)

disnet_comm2(i, test_edges, N_c)

Arguments

i

id of the `from` node, for which we want to calculate commuting proportion

test_edges

the dataframe of the edges which contains the distances between the nodes and the population of each edges's

N_c

The commuting proportion of the entire population. Default = 0.11 from Simini