tdecision.multiComp: Get the test decision based on FDR procedure or Bonferroni...

Description Usage Arguments Value Author(s) Examples

Description

Get the test decision based on FDR procedure or Bonferroni adjustment for a matrix of p-values

Usage

1
2
tdecision.FDR(tp, sig.level)
tdecision.Bonf(tp, sig.level)

Arguments

tp

a matrix matrix of p-values from t test

sig.level

type I error to control for multiple tests

Value

returns a logical matrix for t-test decision based on corresponding p values

Author(s)

Peng Liu peng_liu@groton.pfizer.com

Examples

1
2
3
tp <- matrix(runif(10,0,1), nr = 5, nc = 2)
decision <- tdecision.FDR(tp, sig.level = 0.05)
decision <- tdecision.Bonf(tp, sig.level = 0.05)

warnes/exp.ssize documentation built on May 4, 2019, 12:59 a.m.