distance_mat_stages: Compute the distance matrix

View source: R/0-util-functions.R

distance_mat_stagesR Documentation

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.

distance

the distance function e.g. probdist.kl.

Value

The matrix with the distances between stages.


stagedtrees documentation built on April 29, 2022, 1:06 a.m.