kl_div_from_uniform: Kullback-Leibler divergence from uniform

View source: R/model-har18.R

kl_div_from_uniformR Documentation

Kullback-Leibler divergence from uniform

Description

Gets the Kullback-Leibler divergence of a provided distribution from a uniform distribution.

Usage

kl_div_from_uniform(x)

## S3 method for class 'smooth_spectrum'
kl_div_from_uniform(x)

Arguments

x

Input distribution.

Value

The Kullback-Leibler divergence from a uniform distribution to the input distribution.


pmcharrison/incon documentation built on Feb. 12, 2024, 3:18 a.m.