renyi_entropy: Computes Renyi entropy

Description Usage Arguments Examples

View source: R/renyi_entropy.R

Description

This function computes the renyi entropy of a distribution with a particular alpha function

Usage

1
renyi_entropy(pDist, alpha, log_type = "nats")

Arguments

pDist

the probability distribution in question

alpha

the parameter that controls the function, support = [0, Inf (alpha!=0)]

log_type

defaults to 'nats'

Examples

1
renyi_entropy(prior('random',g),2)

neilbramley/acl_source documentation built on May 29, 2019, 6:53 p.m.