# NOT RUN {
data("simu.idr")
# simu.idr$x and simu.idr$y are p-values
# Transfer them such that large values represent significant ones
x <- cbind(-simu.idr$x, -simu.idr$y)
mu <- 2.6
sigma <- 1.3
rho <- 0.8
p <- 0.7
idr.out <- est.IDR(x, mu, sigma, rho, p, eps=0.001, max.ite=20)
names(idr.out)
# }
Run the code above in your browser using DataLab