qp.matrix.image {qp}R Documentation

Image of an inverse correlation matrix

Description

Makes an image plot of the absolute value of an inverse correlation matrix and reports the number of edges of the corresponding independence graph, the total number of adjacencies of the graph and the percentage of edges respect to this total number of adjacencies

Usage

qp.matrix.image(M, col=NULL, plot=TRUE)

Arguments

M the matrix to make the image plot
col flag that when set to NULL the gray scale is used in the plot
plot when this flag is set to TRUE it plots the function

Details

Returns an object of the class matrix containing the the number of edges of the corresponding independence graph, the total number of adjacencies of the graph and the percentage of edges respect to this total number of adjacencies.

When plot=TRUE it plots the partial correlation coefficients as a matrix.

Author(s)

Robert Castelo and Alberto Roverato

References

Castelo, R. and Roverato, A. (2006). A robust procedure for Gaussian graphical model search from microarray data with p larger than n, J. Mach. Learn. Res., 7:2621-2650

Examples

data(jmlr06data)
qp.matrix.image(IC.bd5)

[Package qp version 0.2-1 Index]