bonferroni.fg(d, gamma = 1, mm = c(2, 2, 2), two.sided = TRUE)
d
is positive.d
mm
is a matrix, this function computes a one-sided or two-sided p-value with each statistic (i.e. there is a p-value for every column of d
and every column of $mm$), then does a Bonferroni correction over all the p-values.