The path.matrix. Only necessary if the corresponding attribute in fm is missing.
from
Start index.
to
Final index.
Value
A vector of indices defining the shortest path from i to j in the original matrix passed to the quickfechner function.
Details
The path.matrix is defined as follows: The entry of the i-th row and j-th column is the index of the last node visited before j on the shortest path from i to j.
# NOT RUN {#not a distance matrix, but a similarity matrix in some sensecx <- 1-abs(cor(olives[-c(1,2,11)]))
cx2 <- quickfechner(cx)
getpath(cx2,from=1,to=5)
# }