fit_angles {Correlplot} | R Documentation |
Fit angles to a correlation matrix
Description
fit_angles
finds a set of optimal angles for representing a
particular correlation matrix by angles between vectors
Usage
fit_angles(R, ifun = "cos", ntrials = 10, verbose = FALSE)
Arguments
R |
a correlation matrix. |
ifun |
an angle interpretation function (cosine, by default). |
ntrials |
number of trials for optimization routine |
verbose |
be silent (FALSE), or produce more output (TRUE) |
Value
a vector of angles (in radians)
Author(s)
anonymous
References
Trosset, M.W. (2005) Visualizing correlation. Journal of Computational and Graphical Statistics 14(1), pp. 1–19
See Also
Examples
X <- matrix(rnorm(90),ncol=3)
R <- cor(X)
angles <- fit_angles(R)
print(angles)
[Package Correlplot version 1.1.0 Index]