powered by
Creates a list containing the stream distances and weights
dist_weight_mat(path = path, net = 1, addfunccol = "addfunccol")
A list of matrices
Path to the files
(optional) A network from the SSN2 object
(optional) A parameter to compute the spatial weights
# \donttest{ path <- system.file("extdata/clearwater.ssn", package = "SSNbayes") mat_all <- dist_weight_mat(path, net = 2, addfunccol='afvArea') # }
Run the code above in your browser using DataLab