amices / mice

Multivariate Imputation by Chained Equations
https://amices.org/mice/
GNU General Public License v2.0
444 stars 107 forks source link

Error in terms.formula(tmp, simplify = TRUE) : ExtractVars里的模型公式不对 #658

Closed XuzheWang closed 2 months ago

XuzheWang commented 2 months ago

data_low_new <- mice(data_low, m=5, method = "pmm", seed = 20240801)

iter imp variable 1 1 BMIError in terms.formula(tmp, simplify = TRUE) : ExtractVars里的模型公式不对

The colnames of my data are character, and the error still comes up. Need some help, thanks!

stefvanbuuren commented 2 months ago

Cannot reproduce. I suggest you create a reprex before we can help.