Description Usage Arguments Value
Missing values are automatically removed.
1 | spearman.test(x, y, alternative = "two.sided")
|
x, y |
Two vectors of the same length. |
alternative |
Type of test, either "two.sided", "greater" for positive correlations, or "less" for negative correlations. |
estimate
the correlation coefficient.
p.value
the p-value of the test.
statistic
the t
statistic of the test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.