marg_H: Shannon entropy for binary data

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Shannon entropy for binary data

Usage

1
marg_H(m_px)

Arguments

m_px

a number between 0 and 1

Value

a non-negative number

Examples

1
marg_H(0.1)

baker documentation built on Feb. 2, 2022, 9:06 a.m.