dmat | R Documentation |
Construct a distance matrix between one set of points and another
dmat(x, dsPixel, nx, value)
x |
Set of pixels to which to compute distance |
nx |
The total number of pixels in the network |
value |
The value to be added (e.g., length) when computing distance |
diPixel |
A vector of downstream pixels, diPixel[i] is downstream from pixel i |
A matrix with dimensions 'length(x)' by 'nrow(ws)'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.