p_resamp_q: Compute a single q-value through resampling.

View source: R/p.adjust.resample.R

p_resamp_qR Documentation

Compute a single q-value through resampling.

Description

Compute a single q-value through resampling.

Usage

p_resamp_q(x, p, n, method)

Arguments

x

the p-value to be corrected

p

numeric vector of the other p-values to sample from.

method

correction method, a character string. Can be abbreviated. see 'p.adjust.methods'

n.samples

Integer. How many times should p-values be resampled

Value

A corrected p-value.


thomazbastiaanssen/Tjazi documentation built on Aug. 22, 2023, 1:30 a.m.