R/entropy.joint.R

Defines functions entropy.joint

Documented in entropy.joint

entropy.joint <-function(pmXY,q,iicc){

HXY<-sapply(pmXY,function(x){
		sapply(x,function(y){
			   y<-matrix(data=y,nrow=16 ,ncol=1)
			   h<-switch(iicc$classentropy, "Shannon"=entropy.Shannon(y),"Renyi"=entropy.Renyi(y,q))
			   })
	})
	return(HXY)
}

Try the MEET package in your browser

Any scripts or data that you put into this service are public.

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