Combine Province/State and Country/Region information.
Usage
preprocessTestData(testData)
Arguments
testData
data frame with $n$ obs. of 4 variables:
ForecastId
int Identifier 1 2 3 ...
Province_State
chr Province/State
Country_Region
chr Country/Region, e.g., "Afghanistan" ...
Date
Date, format: "2020-04-02" ...
Value
A data frame that can be processed by generateMCPrediction
to predict results on test data using the tuned {link{modelMarkovChain} model.
Data.frame with $n$ obs. of 3 variables:
Locality information is merged with the paste command as follows:
paste(testData$Country_Region, testData$Province_State, sep="/").
4-dim data is reduced to 3-dim data.