R2mse: Coefficient of Determination (R2) of two numeric vectors

Description Usage Arguments Details Value

Description

Take two numeric vectors and return their Coefficient of Determination (R2).

Usage

1
R2mse(prd, obs)

Arguments

prd

numeric vector of predicted values.

obs

numeric vector of reference values of length(prd).

Details

Be careful, the function R2mse is not symmetrical. The first argument prd is vector of estimated, modelled or predicted values, the second argument obs is the vector of reference.

Value

Return the Coefficient of Determination (R2).


BenitoJaillard/combinAna documentation built on May 9, 2019, 2:17 a.m.