matrix2cost | R Documentation |
change the distance matrix to cost
matrix2cost(net, distance)
net |
the network structure |
distance |
distance matrix |
the vector of cost
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.