FWER_set_C: Leading NA

View source: R/RcppExports.R

FWER_set_CR Documentation

Leading NA

Description

Computes a the number of hypotheses that can be rejected with FWER control by using a binary search

Usage

FWER_set_C(LocalTest, pvals, alpha, low, high, verbose)

Arguments

LocalTest

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

pvals

A vector of p-values.

alpha

A double indicating the significance level

low

integer denoting the starting point for the search. Should start at zero.

high

integer denoting the end point of the search. Should end at pvals.size() - 1.

verbose

boolean, indicating whether to print progress.

Value

The number of hypotheses that can be rejected with kFWER control at a user specific k.


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