distance_mat_stages: Compute the distance matrix
Description
Compute the matrix of distances between probabilities,
e.g the transition probabilities for a given variable in a
staged event tree.
Usage
distance_mat_stages(x, distance = probdist.kl)
Arguments
x
list of conditional probabilities for each stage.
Value
The matrix with the distances between stages.