Returns the (Kendalls tau) correlation of the edge weights with the vector 1.. (number of weights).
path_cor(edgew, method = "kendall")
edgew
method
cor