cor.spearman.rank | R Documentation |
Calculate test of significance for Spearman's Rank Correlation Coefficient.
cor.spearman.rank(
x1,
x2,
conf.level = 0.95,
alternative = c("two.sided", "less", "greater")
)
cor.spearman.rank.simple(
r_sp,
sample.size,
conf.level = 0.95,
alternative = c("two.sided", "less", "greater")
)
x1 |
Vector - Variable 1 values |
x2 |
Vector - Variable 2 values |
conf.level |
The confidence level for this test, between 0 and 1. |
alternative |
The alternative hypothesis to use for the test computation. |
r_sp |
Scalar - Sample rank correlation coefficient. |
sample.size |
Scalar - Sample size to use for the calculation. |
Hypothesis test result showing results of test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.