Skip to contents

Calculate the weights of the edges of a network based on their length

Usage

calc_weights(net)

Arguments

net

A network object

Value

A network object with a new column 'weight' containing the length of the edges