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)
}
zhonghualiu/DACT documentation built on Feb. 14, 2023, 8:21 p.m.