Description Usage Arguments Value Author(s) See Also Examples
A transformation of the correlation coefficient into the real line and the corresponding inverse. The transform is a translation and scaling of rho from the interval (-1/(d-1), 1) to (0, 1) followed by a logit transformation to the whole real line.
1 2 3 | inv.rho.transform(a, d)
rho.transform(rho, d)
|
a |
A real number. |
d |
The dimension of the space. |
rho |
A correlation coefficient between |
inv.rho.transform
returns a vector of the inversely
transformed values with the same length as a
.
rho.transform
returns a vector of the transformed values with
the same length as rho
or a
.
Anders Ellern Bilgrau <anders.ellern.bilgrau@gmail.com>
1 2 3 4 | d <- 4
rho <- runif(100, -1/(d-1), 1)
a <- GMCM:::rho.transform(rho, d)
rho - GMCM:::inv.rho.transform(a, d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.