Learn R Programming

PredictTestbench (version 1.1.3)

prediction_errors: Function working as testbench for comparison of Prediction algorithms

Description

Function working as testbench for comparison of Prediction algorithms

Usage

prediction_errors(dataIn, nextVal, errorParameter, MethodPath, MethodName)

Arguments

dataIn
as input time series for testing
nextVal
as an integer to decide number of values to predict
errorParameter
as type of error calculation (RMSE, MAE or MAPE)
MethodPath
as location of function for the proposed imputation method
MethodName
as name for function for the proposed imputation method

Value

Returns error comparison for imputation methods

Examples

Run this code
# aa <- prediction_errors(nextVal = 10)
# aa

Run the code above in your browser using DataLab