View source: R/IndexFunctions.R
dismatrix | R Documentation |
Function that calculates the shortest distance between each of the pairs of digraph constructions.
dismatrix(imp, mode = "out")
imp |
Subject's ImpGrid. It must be an S4 object imported by the
|
mode |
Method to calculate the distances depending on the direction of the edges.With "out" we calculate them respecting the direction of the edges, "in" through the inverse of the direction of the edges and "all" without taking into account the direction. |
Returns the digraph distance matrix. Matrix that contains the distances of the shortest paths from one construct to another.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.