entropy {ess}R Documentation

Joint Entropy

Description

Calculates the joint entropy over discrete variables in df

Usage

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

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


[Package ess version 1.1.2 Index]