marg_H: Shannon entropy for binary data

View source: R/utils.R

marg_HR Documentation

Shannon entropy for binary data

Description

Shannon entropy for binary data

Usage

marg_H(m_px)

Arguments

m_px

a number between 0 and 1

Value

a non-negative number

Examples


marg_H(0.1)


zhenkewu/baker documentation built on March 17, 2022, 9:54 p.m.