Error: Often-used error functions

Description Usage Arguments Value Author(s) References

Description

Error functions for classification and regression

Usage

1
2
rms(x, y)
err.rate(x, y)

Arguments

x, y

True or predicted values, either numbers or factors.

Value

Function rms returns the root-mean-square error for real-valued x and y vectors. Function err.rate returns the fraction of non-matching cases in x and y (real numbers or factors).

Author(s)

Ron Wehrens

References

R. Wehrens. "Chemometrics with R - Multivariate Data Analysis in the Natural Sciences and Life Sciences". Springer, Heidelberg, 2011.


ChemometricsWithR documentation built on May 2, 2019, 10:25 a.m.