get_adjp_minp: Helper function for Westfall Young

View source: R/pump_wy.R

get_adjp_minpR Documentation

Helper function for Westfall Young

Description

enforces monotonicity in p-values.

Usage

get_adjp_minp(ind.B, rawp.order)

Arguments

ind.B

matrix of indicator variables for if each raw test statistic exceeds the null test statistics. dimensions: nrow = tnum, ncol = M.

rawp.order

order of raw p-values in ascending order

Value

returns adjusted p-value matrix


MDRCNY/PUMP documentation built on Feb. 26, 2025, 11:22 a.m.