R/impute_missing.R

Defines functions impute_missing

Documented in impute_missing

#' @title Impute missing data
#' @importFrom TestDataImputation EMimpute
#' @export
#'
impute_missing <- function(data) {
  data <- as.matrix(data)
  EMimpute(data, Mvalue = "NA", max.score = 7)
}
awconway/nc-mscs documentation built on Feb. 17, 2021, 10:07 p.m.