RMSE: Root mean square error (RMSE)

View source: R/RMSE.R

RMSER Documentation

Root mean square error (RMSE)

Description

Calculates the root mean squared error from two vectors of observed and expected data. Assumes the two vectors are of the same length and that the pairs are the same order.

Usage

RMSE(m, o)

Arguments

m

A vector of expected values

o

A vector sof observed values expected to be the same length as m

Value

the root mean square error calculated from the two input vectors

Examples

expected <- c(0.4, 0.5, 0.2)
observed <- c(0.38, 0.47, 0.25)


ds420/CETYGO documentation built on Oct. 22, 2024, 8:49 p.m.