calcInSampleError.rtdata: Calculate index errors in sample (rt approach)
Description
Estimate the predictive error of an index via an in-sample approach (rt approach)
Usage
# S3 method for rtdata
calcInSampleError(pred_df, index, ...)
Arguments
pred_df
Set of sales against which to test predictions
index
Index (of class `ts`) to be tested for accuracy