Learn R Programming

cocoreg (version 0.1.1)

rmse: Compute RMSE between vectors v1 and v2

Description

Compute RMSE between vectors v1 and v2

Usage

rmse(v1, v2, relative = F)

Arguments

v1
[1,m] numeric, First data vector
v2
[1,m] numeric, Second data vector
relative
boolean, If TRUE, relate the rmse value to the rmse of v1. If FALSE, just compute RMSE between v1 and v2

Value

[1,1] double, RMSE value