| gc.lambda | R Documentation | 
Estimation of the genomic control inflation statistic (lambda)
gc.lambda(x, logscale = FALSE, z = FALSE)
| x | A real vector (p or z). | 
| logscale | A logical variable such that x as -log10(p). | 
| z | A flag to indicate x as a vector of z values. | 
Estimate of inflation factor.
set.seed(12345)
p <- runif(100)
gc.lambda(p)
lp <- -log10(p)
gc.lambda(lp,logscale=TRUE)
z <- qnorm(p/2)
gc.lambda(z,z=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.