Description Usage Arguments Value
Makes a named distance matrix from a data.table of (x, y, distance(x, y)).
1 | MakeDistMatrix(dt, id.x, id.y, value.cn = "distance")
|
dt |
a data.table |
id.x |
String, name of identifier column x |
id.y |
String, name of identifier column y |
value.cn |
name of column with distances |
'dm' Named distance 'matrix'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.