#' Imputation
#'
#' Imputation using missForest package for the big data. This is to prepare for case distance calculation or impute the artificial missingness.
#'
#' @param sepdata A data frame with missing values.
#'
#' @param maxiter Max number of iterations for missForest imputation.
#' @return Returns imputed data.
#'
#' @importFrom missForest missForest
#' @export
firstImp<-function(sepdata,maxiter=1){
K<-missForest::missForest(sepdata,maxiter=maxiter)$ximp
return(K)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.