inflation {ARTP2} | R Documentation |
This function gives the inflation of a set of p-values (or 1-df chi-squared statistics).
inflation(p, is.p, na.rm = FALSE)
p |
a numeric vector. It can contain p-values or 1-df chi-squared statistics. |
is.p |
a logical value indicating whether |
na.rm |
a logical value indicating whether |
The inflation factor is returned.
set.seed(0) p <- runif(10) inflation(p, TRUE)