R/flexmonoreg.stat.R

Defines functions `flexmonoreg.stat`

`flexmonoreg.stat` <-
function(y, x, lambda=0, alpha.location=1, alpha.adjacency=0.5){
f1 <- flexisoreg(y, x, lambda, alpha.location, alpha.adjacency)$statistic
f2 <- flexisoreg(y, 0-x, lambda, alpha.location, alpha.adjacency)$statistic
return(ifelse(f2>f1, 0-f2, f1))
}

Try the GeneF package in your browser

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

GeneF documentation built on May 9, 2022, 5:07 p.m.