Open
Description
Hi,
When you use plot_missing
, colors associated with good, bad, OK, remove changed regarding the content of the data:
library(DataExplorer)
df <- data.frame(x = rnorm(100), y = rnorm(100), z = rnorm(100), a = rnorm(100), b = rnorm(100))
plot_missing(df)# good in red
df$x[1:4] = NA
df$z[91:100] = NA
plot_missing(df)# good in red, OK in blue
df$a[40:80] = NA
plot_missing(df)# good in green, bad in red, OK in an other blue
It would be more understandable to have a fixed color code.
Thanks