kl_mat: Pairwise KL divergences

View source: R/plot_alignment.R

kl_matR Documentation

Pairwise KL divergences

Description

Pairwise KL divergences

Usage

kl_mat(p)

Arguments

p

A matrix whose rows correspond to discrete probability vectors.

Value

K A matrix whose ij entry is the KL divergence between rows i and j of p.


lasy/alto documentation built on June 23, 2024, 6:45 a.m.