redundancy: To calculate redundancy

Description Usage Arguments Details Author(s) See Also Examples

View source: R/redundancy.R

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.maynou@upc.edu>

See Also

correction.redundancy, correction.entropy, entropy

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(TranscriptionFactor)
data(BackgroundOrganism)
data(iicc)
HXmax<-iicc$HXmax
HX<-iicc$entropy[[1]]
Factortrans<-iicc$Transcriptionfactor
correction<-correction.entropy(q,p=nrow(Factortrans),long=1,iicc)
Herror<-slot(correction,"Herror")
prob<-probability(TranscriptionFactor,Prob,missing.fun=TRUE)
redundancy(HX,HXmax,Herror,finite=nrow(Factortrans),correction=TRUE)

MEET documentation built on May 2, 2019, 5:52 p.m.