lincos | R Documentation |
Function lincos
linearizes the cosine function over the interval
[0,2pi]. The function returns -2/pi*x + 1 over [0,pi] and 2/pi*x - 3
over [pi,2pi]
lincos(x)
x |
angle in radians |
a real number in [-1,1].
Jan Graffelman (jan.graffelman@upc.edu)
Graffelman, J. (2012) Linear-angle correlation plots: new graphs for revealing correlation structure. Journal of Computational and Graphical Statistics. 22(1): 92-106.
cos
angle <- pi
y <- lincos(angle)
print(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.