https://github.com/cran/robCompositions
Tip revision: 4f2efb4ed8831a90968ef063d2403d675c84dae3 authored by Matthias Templ on 26 November 2013, 12:55:44 UTC
version 1.6.4
version 1.6.4
Tip revision: 4f2efb4
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")
}