R/JCCorrect.R

Defines functions JCCorrect

JCCorrect = function(pval){
  z = stats::qnorm(pval,lower.tail = F)
  res= nullParaEst(z)
  pval.JC = stats::pnorm(z,mean = res$mu,sd = res$s,lower.tail = F)
  return(pval.JC)
}

Try the medScan package in your browser

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

medScan documentation built on May 29, 2024, 2:51 a.m.