R/print.obliqueRF.R

#dns20110811; taken from the original random forest package

"print.obliqueRF" <-
function(x, ...) {
  cat("\nCall:\n", deparse(x$call), "\n")
  cat("               Type of random forest: ", x$type, "\n", sep="")
  cat("                     Number of trees: ", x$ntree, "\n",sep="")
  cat("No. of variables tried at each split: ", x$mtry, "\n\n", sep="")
#  if(x$type == "classification") {
#    print(x$errs);
#  }
}

Try the obliqueRF package in your browser

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

obliqueRF documentation built on May 2, 2019, 4:19 a.m.