R/print.predict.homals.R

Defines functions `print.predict.homals`

`print.predict.homals` <-
function(x, ...)
{
# print method for predict.homals
  cat("\nClassification rate:\n")
  dframe <- data.frame(names(x$cr.vec), round(x$cr.vec,4), round(x$cr.vec*100,2))
  rownames(dframe) <- NULL
  colnames(dframe) <- c("Variable","Cl. Rate","%Cl. Rate")
  print(dframe)
  cat("\n")
}

Try the homals package in your browser

Any scripts or data that you put into this service are public.

homals documentation built on May 2, 2019, 6:51 p.m.