I have the following problem. I have a data.frame consisting of country "identifier" (letters+numbers), "year" (numbers), "unique identifier" (identifier+year), statistics on "labour market1" (numbers) and statistics on "labour market2" (numbers), where some data for labour market2 is missing and needs to be interpolated. Once I run the library(imputeTS), I get the following message:
library(imputeTS) Warning message: Unknown or uninitialised column: 'x'.
After running
data <- na.interpolation(data)
I get the following errors:
Warning messages: 1: Unknown or uninitialised column: 'x'. 2: imputeTS: No imputation performed for column 1 because of this Error >in na.interpolation(data[, i], option): Input x is not numeric
3: imputeTS: No imputation performed for column 2 because of this Error >in na.interpolation(data[, i], option): Input x is not numeric
4: imputeTS: No imputation performed for column 3 because of this Error >in na.interpolation(data[, i], option): Input x is not numeric
5: imputeTS: No imputation performed for column 5 because of this Error >in na.interpolation(data[, i], option): Input x is not numeric
What is interesting is that the na.interpolation(data) stopped working after I updated the R version from 3.2.3 to the latest 3.5.1 (2018-07-02) -- "Feather Spray".
I wonder if there is a solution to get rid of the warning and perform the interpolatioN without reverting back to the older version of R.
Thank you in advance!