amices / ggmice

Visualize incomplete and imputed data with the R package `ggmice`
http://amices.org/ggmice
GNU General Public License v3.0
31 stars 9 forks source link

Facet order `plot_trace()` not equal to column names #146

Open hanneoberman opened 9 months ago

hanneoberman commented 9 months ago

Facets are alphabetical, whereas they should be ordered according to the columns in the incomplete data.

library(mice)
library(ggmice)
imp <- mice(nhanes, seed = 29981, print = FALSE)
plot(imp)

plot_trace(imp)

ࠀᰅ
#> Error in eval(expr, envir, enclos): object 'ࠀᰅ' not found

Created on 2024-02-20 with reprex v2.0.2