Learn R Programming

gMCP (version 0.3-2)

gMCP: A graphical approach to sequentially rejective multiple test procedures

Description

Performs a sequentially rejective multiple test procedure on a graph given unadjusted p-values.

Usage

gMCP(graph, pvalues, verbose=FALSE)
	adjPValues(graph, pvalues, verbose=FALSE)

Arguments

graph
A graph of class graphMCP.
pvalues
A numeric vector specifying the p-values for the sequentially rejective MTP.
verbose
Logical scalar. If TRUE verbose output is generated during sequentially rejection steps.

Value

  • An object of class gMCPResult, more specifically a list with elements
  • graphslist of graphs
  • pvaluesp-values
  • adjPValuesadjusted p-values

Details

For details see the given references.

References

Frank Bretz, Willi Maurer, Werner Brannath, Martin Posch: A graphical approach to sequentially rejective multiple test procedures. Statistics in Medicine 2009 vol. 28 issue 4 page 586-604. http://www.meduniwien.ac.at/fwf_adaptive/papers/bretz_2009_22.pdf

See Also

graphMCP

Examples

Run this code
g <- createBonferroniHolmGraph(5)

gMCP(g, pvalues=c(0.01, 0.02, 0.04, 0.04, 0.7))

Run the code above in your browser using DataLab