0

I just wanted to learn how to deal with missing value. I found the mice package, but if I run install.package and library R cannot find md.pattern. Does anybody know why?

install.packages("mice")
library(mice)

md.pattern(data)

Error in md.pattern(data) : could not find function "md.pattern"

library(mice)

Loading required package: lattice
Error: package or namespace load failed for ‘mice’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘minqa’
In addition: Warning message:
package ‘mice’ was built under R version 3.4.4

slamballais
  • 3,081
  • 3
  • 17
  • 29
Dezdi
  • 11
  • 5

1 Answers1

0

Search mice from the part where we installed all packages and ☑️mice from the packages .it will work.