R/compute_bonferroni.R

Defines functions compute_bonferroni

compute_bonferroni <- function(statistic = NULL,pvalue){
  pvalue <- pmin(pvalue*length(pvalue),1)
  out <- list(main = cbind(statistic = statistic,pvalue = pvalue))
  return(out)
}

Try the permuco package in your browser

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

permuco documentation built on June 30, 2022, 9:05 a.m.