mae: Mean Absolute Error

Description Usage Arguments Details Examples

View source: R/lolo.cv.R

Description

Computes the mean absolute error between two vectors.

Usage

1
mae(y, yhat)

Arguments

y

n x 1 vector of outcomes.

yhat

n x 1 vector of predictions.

Details

This function computes the mean absolute error.

Examples

1
mae()

gregorywatson/lolo documentation built on May 23, 2019, 7:03 p.m.