Learn R Programming

MEET (version 5.1.1)

entropy.Shannon: Shannon Entropy

Description

This function calculates the Shannon's entropy of the variable X with N possible states

Usage

entropy.Shannon(wind)

Arguments

wind
Probability matrix (4xm).

Details

wind parameter is calculated by means of probability function

See Also

entropy.max, entropy. conjunta, probability, entropy.corrected

Examples

Run this code
 require("MEET")
 data(TranscriptionFactor)
 data(BackgroundOrganism)
 training.set<-TranscriptionFactor
 wind<-probability(training.set,Prob)
 test<-entropy.Shannon(wind)

Run the code above in your browser using DataLab