computeError: Compute error

Description Usage Arguments Value

View source: R/mt.R

Description

This function calculates the Root Mean Square Error (RMSE). It takes as input two vectors (or matrices) with one containing the real y's and the other the predicted y's from the model.

Usage

1
computeError(y, ypred)

Arguments

y

Response data

ypred

Mean of predicted responses

Value

RMSE for the given data


mgoulet847/tagi documentation built on Dec. 21, 2021, 5:10 p.m.