TestSet_C: Leading NA

View source: R/RcppExports.R

TestSet_CR Documentation

Leading NA

Description

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

Usage

TestSet_C(
  LocalTest,
  pSub,
  pRest,
  alpha,
  is_subset_sequence,
  EarlyStop,
  verbose
)

Arguments

LocalTest

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

pSub

A vector with the p-values of the set to be tested.

pRest

A vector containing the remaining p-values.

alpha

Double indicating the significance level.

is_subset_sequence

Logical indicating whether the supplied subset of p_values corresponds to the pSub.size() smallest overall p-values.

EarlyStop

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

verbose

Logical indicating whether to print progress.


TMTI documentation built on Aug. 10, 2022, 5:06 p.m.