Learn R Programming

VBmix (version 0.3.2)

binnedEntropy:

Description

uses bins to approximate the empirical entropy of a variable.

Usage

binnedEntropy(v, nbins = 100)

Arguments

v
a numeric vector.
nbins
number of bins used to estimate the entropy.

Value

entropy value.

Examples

Run this code
temp <- binnedEntropy(irisdata[,1])

Run the code above in your browser using DataLab