ddhf: ddhf: Greedy independent filtering

Description Usage Arguments Value Examples

View source: R/covariate_methods.R

Description

ddhf: Greedy independent filtering

Usage

1
ddhf(unadj_p, filterstat, alpha)

Arguments

unadj_p

Numeric vector of unadjusted p-values.

filterstat

Factor to which different hypotheses belong

alpha

Significance level at which to apply method

Value

DDHF multiple testing object

Examples

1
2
3
     sim_df <- du_ttest_sim(20000,0.95, 1.5)
     obj <- ddhf(sim_df$pvalue, sim_df$filterstat, .1)
     sum(rejected_hypotheses(obj))

nignatiadis/ihwPaper documentation built on Jan. 18, 2021, 3:13 p.m.