pCDFlist
Creates a list of step functions out of p-value CDF supports. That is, creates the list of the CDFs. The end user should not use it.
build.stepfuns(pCDFlist)
a list of the supports of the CDFs of the p-values. Each support is represented by a vector that must be in increasing order.
A list of CDFs.
The functions returned are the ones denoted by \(F_i\) in the reference paper, see DiscreteFDR.
DiscreteFDR
This version: 2017-09-09.
# NOT RUN { toyList <- list(c(0.3,0.7,1),c(0.1,0.65,1)) toyStep <- build.stepfuns(toyList) toyStep[[1]](0.2) toyStep[[2]](0.2) toyStep[[1]](0.65) toyStep[[2]](0.65) # }
Run the code above in your browser using DataLab