Description Usage Arguments Value Examples
Distance weight methods
1 | dist_normalize(D, d_max, imp_function, function_d_max = 0.01)
|
D |
numeric matrix, distance or time values |
d_max |
numeric, threshold for max distance |
imp_function |
character, type of distance weights method |
function_d_max |
numeric, condition for the result of the function(d_max) used to calculate beta (default = 0.01, is considered optimal for the Gaussian function) |
matrix, normalized distance or time values
1 | dist_normalize(matrix(10), 10, "gaussian")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.