correlation-tools {AATtools} | R Documentation |
Correlation tools
Description
Helper functions to compute important statistics from correlation coefficients.
Usage
r2z(r)
z2r(z)
r2t(r, n)
t2r(t, n)
r2p(r, n)
rconfint(r, n, alpha = 0.05)
compcorr(r1, r2, n1, n2)
## S3 method for class 'compcorr'
print(x, ...)
Arguments
r , r1 , r2 |
a correlation value |
z |
a Z-score |
n , n1 , n2 |
sample sizes |
t |
a t-score |
alpha |
the significance level to use |
x |
a |
... |
ignored |
Functions
-
r2z()
: converts correlation coefficients to z-scores -
z2r()
: converts z-scores to correlation coefficients -
r2t()
: Converts correlation coefficients to t-scores -
t2r()
: Converts t-scores to correlation coefficients -
r2p()
: Computes the two-sided p-value for a given correlation -
rconfint()
: Computes confidence intervals for one or multiple correlation coefficients -
compcorr()
: computes the significance of the difference between two correlation coefficients -
print(compcorr)
: computes the significance of the difference between two correlation coefficients
See Also
Examples
z <- r2z(.5)
r <- z2r(z)
t<-r2t(r,30)
r2p(r,30)
print(rconfint(r,30))
print(compcorr(.5,.7,20,20))
[Package AATtools version 0.0.3 Index]