Skip to contents

Internal function to compute the R-squared of observations versus model predictions.

Usage

performance_score_r2(o = NULL, p = NULL)

Arguments

o

(required, numeric vector) Response values. Default: NULL

p

(required, numeric vector) Model predictions. Default: NULL

Value

numeric: Pearson R-squared

See also