Referring to this post:createTimeSlices function in CARET package in R where createTimeSlices was suggested as an option for cross-validating when using time series data. I would like to understand how to go about selecting values for 'initialWindow', 'horizon' and 'fixedWindow' in trainControl.
They are defined within caret as follows (?createTimeSlices):
initialWindow - The initial number of consecutive values in each training set sample
horizon - The number of consecutive values in test set sample
fixedWindow - A logical: if FALSE, the training set always start at the first sample.
Can someone please elaborate further on how to go about selecting the right values for initialWindow & Horizon and the actual implications of selecting TRUE or FALSE for fixedWindow?