hpiR (version 0.2.0)

buildForecastIDs.rtdata: 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 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