angleToR {Correlplot} | R Documentation |
Convert angles to correlations.
Description
Function angleToR
converts a vector of angles (in radians) to an
estimate of the correlation matrix, given an interpretation function.
Usage
angleToR(x, ifun = "cos")
Arguments
x |
a vector of angles (in radians) |
ifun |
the interpretation function ("cos" or "lincos") |
Value
A correlation matrix
Author(s)
Jan Graffelman (jan.graffelman@upc.edu)
References
Graffelman, J. (2012) Linear-angle correlation plots: new graphs for revealing correlation structure. Journal of Computational and Graphical Statistics. 22(1): 92-106.
See Also
Examples
angles <- c(0,pi/3)
R <- angleToR(angles)
print(R)
[Package Correlplot version 1.1.0 Index]