distance_mat_stages {stagedtrees} | R Documentation |
Compute the matrix of distances between probabilities, e.g the transition probabilities for a given variable in a staged event tree.
distance_mat_stages(x, distance = probdist.kl)
x |
list of conditional probabilities for each stage. |
distance |
the distance function e.g. |
The matrix with the distances between stages.