redundancy: To calculate redundancy

Description Usage Arguments Details Author(s) See Also Examples

Description

This function calculates the redundancy of random variable X with N possibles states

Usage

1
redundancy(HX, HXmax, Herror, finite, correction = TRUE)

Arguments

HX

A entropy vector

HXmax

Maximum entropy

Herror

Error entropy

finite

Finite Sample Size

correction

If TRUE, considers correction of the finite Sample size

Details

This function depends the correction.redundancy

Author(s)

Joan Maynou <joan.maynouatupc.edu>

See Also

correction.redundancy, correction.entropy, entropy.Shannon,entropy.Renyi

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
require("MEET")
data(BackgroundOrganism)
data(iicc)
q<-iicc$q
Factortrans<-iicc$Transcriptionfactor
HXmax<-iicc$HXmax
correction<-correction.entropy(q,p=nrow(Factortrans),long=1,iicc)
Herror<-slot(correction,"Herror")
pmX<-probability(Factortrans,Prob)
HX<-switch(iicc$classentropy,"Shannon"=entropy.Shannon(pmX),"Renyi"=entropy.Renyi(pmX,q))
test<-redundancy(HX,HXmax,Herror,finite=nrow(Factortrans),correction=TRUE)

MEET documentation built on May 2, 2019, 1:45 p.m.

Related to redundancy in MEET...