R/HItest3.R

Defines functions HItest3

Documented in HItest3

HItest3 <-
function(class,MLE,thresholds=c(2,8)){
	LLC <- apply(class[,1:15],1,max)
	LLM <- MLE$logLik
	dAIC <- (2*1-2*LLC) - (2*5-2*LLM)
	c1 <- class$LLD>thresholds[1]
	c2 <- (LLM-LLC)<thresholds[2]
	data.frame(Best.class = class$Best,LL.class=LLC,LLD.class=class$LLD,LL.max=MLE$logLik,dAIC,c1,c2)
	}

Try the HIest package in your browser

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

HIest documentation built on May 2, 2019, 10:21 a.m.