pval-methods: Method to extract inflation- and bias-corrected P-values

pvalR Documentation

Method to extract inflation- and bias-corrected P-values

Description

Method to extract inflation- and bias-corrected P-values

Usage

pval(object, corrected = TRUE)

## S4 method for signature 'Bacon'
pval(object, corrected = TRUE)

Arguments

object

'bacon'-object

corrected

optional return uncorrected

Value

vector or matrix of P-values

See Also

bacon

Examples

y <- rnormmix(2000, c(0.9, 0, 1, 0, 4, 1))
bc <- bacon(y, nbins=100) #nbins = 100 to speed up the calculations
head(pval(bc))

mvaniterson/bacon documentation built on April 19, 2024, 5:32 p.m.