correlogram | R Documentation |
correlogram
plots a correlogram for a correlation matrix.
correlogram(R,labs=colnames(R),ifun="cos",cex=1,main="",ntrials=50,
xlim=c(-1.2,1.2),ylim=c(-1.2,1.2),pos=NULL,...)
R |
a correlation matrix. |
labs |
a vector of labels for the variables. |
ifun |
the interpretation function ("cos" or "lincos") |
cex |
character expansion factor for the variable labels |
main |
a title for the correlogram |
ntrials |
number of starting points for the optimization routine |
xlim |
limits for the x axis (e.g. c(-1.2,1.2)) |
ylim |
limits for the y axis (e.g. c(-1.2,1.2)) |
pos |
if specified, overrules the calculated label positions for the variables. |
... |
additional arguments for the |
correlogram
makes a correlogram on the basis of a set of
angles. All angles are given w.r.t the positive x-axis. Variables are
represented by unit vectors emanating from the origin.
A vector of angles
Jan Graffelman (jan.graffelman@upc.edu)
Trosset, M.W. (2005) Visualizing correlation. Journal of Computational and Graphical Statistics 14(1), pp. 1–19
fit_angles
,nlminb
X <- matrix(rnorm(90),ncol=3)
R <- cor(X)
angles <- correlogram(R)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.