e: Calculate error between actual and forecast.

Description Usage Arguments Value Examples

Description

e takes actual and forecast numeric vectors and returns a numeric vector where forecast is subtracted from the actual.

Usage

1
e(y_true = NULL, y_pred = NULL, actual = NULL, forecast = NULL)

Arguments

y_true

Ground truth (correct) target values.

y_pred

Estimated target values.

actual

a numeric vector of actuals.

forecast

a numeric vector of forecasts.

Value

a numeric vector of errors.

Examples

1
2
# Examples
e(1:100, 100:1)


Search within the scorer package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.