entropy: Joint Entropy

Description Usage Arguments Value Examples

View source: R/api_entropy.R

Description

Calculates the joint entropy over discrete variables in df

Usage

1
entropy(df, thres = 5, npc = new.env())

Arguments

df

data.frame

thres

A threshold mechanism for choosing between two different ways of calculating the entropy. Can Speed up the procedure with the "correct" value.

npc

An environment. If supplied, the number of positive cells in the underlying pmf will be stored in the environment with the name value

Value

A number representing the entropy of the variables in df.

Examples

1
entropy(derma[1:100, 1:3])

ess documentation built on May 31, 2021, 9:10 a.m.