buildForecastIDs.rtdata: Create the row IDs for forecast accuracy (rt approach)

View source: R/calcForecastError.R

buildForecastIDs.rtdataR Documentation

Create the row IDs for forecast accuracy (rt approach)

Description

Generate a vector of row IDs for use in forecast accuracy tests (rt approach)

Usage

## S3 method for class 'rtdata'
buildForecastIDs(time_cut, hpi_df, forecast_length = 1, train = TRUE)

Arguments

time_cut

Period after which to cut off data

hpi_df

Data to be converted to training or scoring

forecast_length

default = 1; Length of forecasting to do

train

Default=TRUE; Create training data? FALSE = Scoring data


andykrause/hpiR documentation built on Feb. 2, 2024, 8:13 p.m.