kFWER_set_C: Leading NA

View source: R/RcppExports.R

kFWER_set_CR Documentation

Leading NA

Description

Computes a confidence set for the number of false hypotheses among a subset of using a binary search

Usage

kFWER_set_C(LocalTest, pvals, k, alpha, low, high, verbose)

Arguments

LocalTest

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

pvals

A vector of p-values.

k

integer denoting the k to control the kFWER at.

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.