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 compcorr
print(x, ...)
Value
For r2z(), z2r, r2t, t2r, and r2p,
a numeric vector with the requested transformation applied.
For rconfint(), a numeric vector with two values representing
the lower and upper confidence intervals of the correlation coefficient.
For compcorr(), a compcorr object containing
a z and p value for the requested comparison,
which can be printed with print.compcorr().
Arguments
r, r1, r2
Correlation values.
z
Z-scores.
n, n1, n2
Sample sizes.
t
t-scores.
alpha
The significance level to use.
x
A compcorr object to print.
...
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.