Description Usage Arguments Value Author(s) Examples
Accept or reject hypotheses at specified alpha level for a vector of p-values
1 2 | t.decision.Bonf(tp, sig.level)
t.decision.FDR(tp, sig.level)
|
tp |
1 column matrix of p-values |
sig.level |
Significance level (alpha) |
Vector of logicals indicating whether the hypothsis was rejected (TRUE) or accepted (FALSE).
Peng Liu peng\_liu@groton.pfizer.com
1 2 3 4 | p <- matrix(seq(0,0.01,by=0.001),ncol=1)
bonf <- t.decision.Bonf(p, 0.05)
fdr <- t.decision.FDR(p, 0.05)
data.frame("P-value"=p,"Bonferonni Reject"=bonf, "FDR Reject"=fdr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.