powered by
Calculate p-value of Z scores.
ZPvalue( Z, alternative = c("two.sided", "less", "greater"), p.adjust.method = "BH" )
A matrix of Z scores.
Alternative hypothesis used, default is two.sided.
two.sided
Method used for multiple comparisons correction, default is BH. See p.adjust.
BH
p.adjust
A list containing the following:
p.val, a matrix of p-values.
p.adj, a matrix of adjusted p-values.
# NOT RUN { { res <- ZPvalue(matrix(runif(100),10,10)) } # }
Run the code above in your browser using DataLab