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)


baker documentation built on Dec. 12, 2025, 1:06 a.m.