R2mse: Coefficient of Determination ('R2')

Description Usage Arguments Details Value See Also

View source: R/stats.R

Description

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

Usage

1
R2mse(fprd, fobs)

Arguments

fprd, fobs

two numeric vectors. The first vector contains predicted or modelled values. The second vector contains the reference (observed) values.

Details

Be careful, the function R2mse is not symmetrical. The first argument fprd is vector of estimated, modelled or predicted values. The second argument fobs is the vector of reference. Both the vectors have the same length: length(fprd) = length(fobs).

Value

Return the Coefficient of Determination (R2).

See Also

R2, rss, mse, rmse, pmse


functClust documentation built on Dec. 2, 2020, 5:06 p.m.