dist_weight_mat | R Documentation |
Creates a list containing the stream distances and weights
dist_weight_mat(path = path, net = 1, addfunccol = "addfunccol")
path |
Path to the files |
net |
(optional) A network from the SSN2 object |
addfunccol |
(optional) A parameter to compute the spatial weights |
A list of matrices
path <- system.file("extdata/clearwater.ssn", package = "SSNbayes")
mat_all <- dist_weight_mat(path, net = 2, addfunccol='afvArea')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.