Description Usage Arguments Examples
View source: R/measures_regression.R
Defined as: Spearman's rho correlation between truth and response. Only looks at the order. See Rosset et al.: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.95.1398&rep=rep1&type=pdf.
| 1 | SpearmanRho(truth, response)
 | 
| truth | [numeric] vector of true values | 
| response | [numeric] vector of predicted values | 
| 1 2 3 4 5 | n = 20
set.seed(123)
truth = rnorm(n)
response = rnorm(n)
SpearmanRho(truth, response)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.