Learn R Programming

bacon (version 1.0.4)

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

Description

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

Usage

pval(object, corrected = TRUE)
"pval"(object, corrected = TRUE)

Arguments

object
'bacon'-object
corrected
optional return uncorrected

Value

vector or matrix of P-values

See Also

bacon

Examples

Run this code
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))

Run the code above in your browser using DataLab