When using mice, I get Error in str2lang(x) : <text>:1:8: unexpected symbol

Viewed 6462

When the mice package for missing value imputation, I get the following error:

impute_vals = mice(cols, threshold = 1, m=1, maxit = 3, printFlag = TRUE)
Error in str2lang(x) : <text>:1:8: unexpected symbol
1: Clicks per
       ^

All columns are numerical. I'm not sure why it is not letting me run the MICE imputations.

1 Answers

I changed to column name and this worked for me

Related