dist_weight_mat {SSNbayes} | R Documentation |
Creates a list containing the stream distances and weights
Description
Creates a list containing the stream distances and weights
Usage
dist_weight_mat(path = path, net = 1, addfunccol = "addfunccol")
Arguments
path |
Path to the files |
net |
(optional) A network from the SSN2 object |
addfunccol |
(optional) A parameter to compute the spatial weights |
Value
A list of matrices
Examples
path <- system.file("extdata/clearwater.ssn", package = "SSNbayes")
mat_all <- dist_weight_mat(path, net = 2, addfunccol='afvArea')
[Package SSNbayes version 0.0.3 Index]