draw {someMTP} | R Documentation |
Plots results of fdrOrd()
Description
Plots results of fdrOrd()
Usage
draw(object, what = c("all", "ordVsP", "stepVsR"), pdfName = NULL)
Arguments
object |
a |
what |
what to plot; |
pdfName |
it is the pdf filename where the plot will be saved. If |
Value
No value is returned
Author(s)
Livio Finos
See Also
See Also fdrOrd
.
Examples
set.seed(17)
x=matrix(rnorm(60),3,20)
x[,1:10]=x[,1:10]+2 ##variables 1:10 have tests under H1
ts=apply(x,2,function(x) t.test(x)$statistic)
ps=apply(x,2,function(x) t.test(x)$p.value)
m2=apply(x^2,2,mean)
pOrd <- fdrOrd(ps,q=.05,ord=m2)
draw(pOrd)
[Package someMTP version 1.4.1.1 Index]