Skip to contents

Build a checked record of extra arguments for the GBJ set-based tests behind combinePValues methods "gbj", "bj", "hc", "ghc" and "minp". All five share one signature, so one constructor covers them.

Usage

GbjOptions(...)

Arguments

...

Arguments for GBJ::GBJ() and its siblings – in practice pairwise_cors, the vector of pairwise correlations the test would otherwise derive from cor_mat. Names are checked against the engine's formals, so a misspelling is an error rather than a silent drop. test_stats and cor_mat are supplied by pecotmr and refused.

Value

A MethodOptions record for PvalMethodsParam.

Examples

GbjOptions(pairwise_cors = rep(0.1, 3))
#> <MethodOptions: gbj>
#>   forwarded to GBJ::GBJ(), GBJ::BJ(), GBJ::HC(), GBJ::GHC(), GBJ::minP()
#>   argument names checked against the 3 arguments these 5 functions accept between them
#>   pairwise_cors          0.1, 0.1, 0.1