'When using mice, I get Error in str2lang(x) : <text>:1:8: unexpected symbol
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.
Solution 1:[1]
I changed to column name and this worked for me
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Timothy D. Vines |
