plotDAGpvalues {SIN} | R Documentation |
This function plots the simultaneous p-values for SIN model selection for acyclic directed graphs (DAGs).
plotDAGpvalues(pvals, legend=T, legendpos=NULL)
pvals |
a matrix of p-values. |
legend |
a Boolean. |
legendpos |
a numerical vector of length 2. |
A plot illustrating the simultaneous p-values. If
legend==TRUE
, then a legend giving information on the variable
labelling is drawn. Optionally, the position of the legend can be
specified by legendpos
.
Drton, M. & Perlman, M.D. (2004) Model Selection for Gaussian
Concentration Graphs. Biometrika, to appear.
Drton, M. & Perlman, M.D. (2004) A SINful Approach to Gaussian
Graphical Model Selection. Statistical Science, to appear.
Drton, M. & Perlman, M.D. (2003) A SINful Approach to Model
Selection for Gaussian Concentration Graphs. Department of
Statistics, University of Washington, Technical Report 429.
http://www.stat.washington.edu/www/research/reports/2003/tr429.pdf
data(fowlbones) p <- dim(fowlbones$corr)[1] pvals <- holm(sinDAG(list(1:p),fowlbones$corr,fowlbones$n)) ## Not run: plotDAGpvalues(pvals) ## Not run: plotDAGpvalues(pvals, legend=F) ## Not run: plotDAGpvalues(pvals, legendpos=c(7,0.5)) ## Not run: plotDAGpvalues(pvals, legend=T, legendpos=c(7,0.5))