rejectNode: Rejects a node/hypothesis and updates the graph accordingly.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/gMCP.R

Description

Rejects a node/hypothesis and updates the graph accordingly.

Usage

1
2
rejectNode(graph, node, upscale = FALSE, verbose = FALSE,
  keepWeights = FALSE)

Arguments

graph

A graph of class graphMCP or entangledMCP.

node

A character string specifying the node to reject.

upscale

Logical. If upscale=TRUE then the weights of all non-rejected nodes are scaled so that the sum is equal to 1. This forces keepWeights=FALSE to reduce confusion, since otherwise the sum of weights could become bigger than 1.

verbose

Logical scalar. If TRUE verbose output is generated during sequentially rejection steps.

keepWeights

Logical scalar. If FALSE the weight of a node without outgoing edges is set to 0 if it is removed. Otherwise it keeps its weight.

Details

For details see the given references.

Value

An updated graph of class graphMCP or entangledMCP.

Author(s)

Kornelius Rohmeyer rohmeyer@small-projects.de

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

1
2
3
g <- BonferroniHolm(5)

rejectNode(g, "H1")

gMCP documentation built on March 26, 2020, 6:26 p.m.