Learn R Programming

bayesbio (version 1.0.0)

p.adjust.nlp: Adjust p-values where n is less than p.

Description

This function recapitulates p.adjust but allows the number of hypothesis tests n to be less than the number of p-values p. Statistical properties of the p-value adjustments may not hold.

Usage

p.adjust.nlp(p, method = p.adjust.methods, n = length(p))

Arguments

p
Numeric vector of p-values.
method
Correction method.
n
Number of comparisons to be made.

References

http://stackoverflow.com/a/30110186/560791