R/print.ordforpred.R

Defines functions print.ordforpred

#' @keywords internal
#' @export
print.ordforpred <-
  function(x, ...) {
    
    cat("\n")
    cat(paste("Predicted values of ", length(x$ypred), " observation(s).", sep=""), "\n")
    
    cat("\n")
    cat("Classes of ordinal target variable:", "\n")
    cat(paste(paste("\"", levels(x$ypred), "\"", sep=""), collapse=", "), "\n")
    
  }

Try the ordinalForest package in your browser

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

ordinalForest documentation built on Dec. 1, 2022, 1:25 a.m.