shannon_entropy: Calculates Shannon entropy of a supplied vector, after...

View source: R/helper.R

shannon_entropyR Documentation

Calculates Shannon entropy of a supplied vector, after normalizing it

Description

Calculates Shannon entropy of a supplied vector, after normalizing it

Usage

shannon_entropy(p)

Arguments

p

Numeric vector of probabilities


XSLmodels documentation built on Oct. 18, 2026, 5:08 p.m.