plotUGpvalues {SIN} | R Documentation |
This function plots the simultaneous p-values for SIN model selection for undirected graphs.
plotUGpvalues(pvals, legend=TRUE, 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 91(3): 591-602.
Drton, M. \& Perlman, M.D. (2008) A SINful Approach to Gaussian
Graphical Model Selection. J. Statist. Plann. Inference
138(4): 1179-1200.
data(fowlbones) pvals <- holm(sinUG(fowlbones$corr,fowlbones$n)) ## Not run: plotUGpvalues(pvals) ## Not run: plotUGpvalues(pvals, legend=FALSE) ## Not run: plotUGpvalues(pvals, legendpos=c(7,0.5)) ## Not run: plotUGpvalues(pvals, legend=TRUE, legendpos=c(7,0.5))