calculates R2

calc_rf_R2(data)

Arguments

data

data with variables Y and Ypred

Value

R2