relative_entropy: Calculate the relative entropy of two vectors.

Description Usage Arguments Value Examples

View source: R/vector_calculations.R

Description

Calculate the relative entropy of two vectors.

Usage

1

Arguments

x

A vector.

y

A vector

Value

The relative entropy of x and y.

Examples

1
relative_entropy(c(1,2,3,4), c(5,6,7,8))

ajfabry/Statspeare documentation built on Jan. 26, 2020, 7:44 a.m.