corr: Pearson's Correlation

View source: R/stdMetrics.R

corrR Documentation

Pearson's Correlation

Description

Pearson's Correlation

Usage

corr(trues, preds)

Arguments

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

Value for the Pearson's correlation


nunompmoniz/IRon documentation built on April 24, 2023, 1:20 p.m.