triangleplot {arm}R Documentation

Triangle Plot

Description

Function for making a triangle plot from a square matrix

Usage

triangleplot (x, y=NULL, details=TRUE, 
            n.col.legend=5, cex.col=0.7, 
            cex.var=0.9, digits=1, color=FALSE)

Arguments

x a square matrix.
y a vector of names that corresponds to each element of the square matrix x.
details show more than one digits correlaton values. Default is TRUE. FALSE is suggested to get readable output.
n.col.legend number of legend for the color thermometer
cex.col font size of the color thermometer.
cex.var font size of the variable names.
digits number of digits shown in the text of the color theromoeter.
color color of the plot, default is FALSE, which uses gray scale.

Details

The function makes a triangle plot from a square matrix, e.g., the correlation plot, see corrplot.

Author(s)

Yu-Sung Su ys463@columbia.edu

See Also

corrplot

Examples

 x <- matrix(runif(1600, 0, 1), 40, 40)
 triangleplot(x)

[Package arm version 1.0-17 Index]