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

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
2
3
4
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

1
2
3
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))

bacon documentation built on Nov. 8, 2020, 4:54 p.m.