Description Usage Arguments Value Examples
Creates a linear connection between spatial data in order to be used for classification.
1 2 3 4 5 |
data |
an input data.frame |
idx |
indicates the position of the spatial data attribute. |
mat |
a matrix indicating distances |
pre_order |
predefined order |
snd |
indicates which node will be used as the starting one. The default value 0 means that the best route will be chosen, without taking into consideration which the starting node will be. |
zzz |
a route |
instz |
instance |
cost |
cost of routes |
return a list of 3 objects: a) The modified dataset, b) winner route, c) the total distance of the route.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.