corr | R Documentation |
Pearson's Correlation
corr(trues, preds)
trues |
Target values from a test set of a given data set. Should be a vector and have the same size as the variable preds |
preds |
Predicted values given a certain test set of a given data set. Should be a vector and have the same size as the variable trues |
Value for the Pearson's correlation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.