Distribution function of Spearman's rho
This function provides three types of approximations of the distribution
function of Spearman's rho. Besides the two approximations
cor.test(,method="spearman"), which are AS89 and the t-distribution,
this function allows to use precomputed null distribution for
n <= 22.
spearman.test for the details of the algorithm used to compute this
The observed value of S statistics
The number of observations.
If TRUE (the default), the probability of
Selection of the method of approximation of the distribution function.
spearman.test for more detail.
lower.tail, either the probability of
S <= s
S >= s is computed, where S is the statistics
sum((rank(x) - rank(y))^2).
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.