Learn R Programming

TMTI (version 1.0.1)

FullCTP_C: Leading NA

Description

Tests a user-specified subset in a CTP, using a user-supplied local test

Usage

FullCTP_C(LocalTest, f, pvals, EarlyStop, alpha)

Arguments

LocalTest

A function that returns a double in (0, 1).

f

A function that iterates LocalTest over the relevant test tree. In practice, this is called as TestSet_C.

pvals

A vector of p-values.

EarlyStop

Logical indicating whether to exit as soon as a non-significant p-value is found.

alpha

Significance level. This is only used if EarlyStop = TRUE