Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

extractPower

Calculate power values


Description

Calculates local power values, expected number of rejections, the power to reject at least one hypothesis and the power to reject all hypotheses.

Usage

extractPower(x, f = list())

Arguments

x

A matrix containing the rejected hypothesis, as produces by the graphTest function.

f

List of user defined power functions. If one is interested in the power to reject hypotheses 1 and 3 one could specify function(x) {x[1] && x[3]}. If f is a named list, the result will contain corresponding items with the same names (among the default elements described in the following).

Value

A list containg at least the following four elements and an element for each element in the parameter f.

LocPower

A numeric giving the local powers for the hypotheses

ExpNrRej

The expected number of rejections

PowAtlst1

The power to reject at least one hypothesis

RejectAll

The power to reject all hypotheses


gMCP

Graph Based Multiple Comparison Procedures

v0.8-15
GPL (>= 2)
Authors
Kornelius Rohmeyer [aut, cre], Florian Klinglmueller [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.