https://github.com/cran/robCompositions
Raw File
Tip revision: b66ed0ee23d1154b053a30fa7aa5bfb421df575a authored by Matthias Templ on 21 June 2010, 08:03:56 UTC
version 1.4.1
Tip revision: b66ed0e
print.imp.R
print.imp <- function(x, ...){
  cat("\n --------------------------------------- \n")
  if( x$w > 1 ){
    print(paste(x$w, "missing vales were imputed"))
  } else{
    print(paste(x$w, "missing vale was imputed"))
  }

  if( length(x$criteria) > 0 ){
    if( x$iter > 1 ){
      print(paste(x$iter, "iterations were needed"))
    } else{
      print(paste(x$iter, "iteration was needed"))
    }
    print(paste("the last change was", round(x$criteria,4)))
  }
  cat(" --------------------------------------- \n")
}
back to top