R/print.vda.r.R

Defines functions print.vda.r

Documented in print.vda.r

print.vda.r <-
function (x, ...)
{
  cat ("\n Call: \n")
  print (x$call)

  cat ("# of cases=", x$cases, "\n")
  cat ("# of classes=", x$classes, "\n")
  cat ("# of features=", x$features, "\n")
  
  cat ("\n Lambda used:", x$lambda, "\n")
  
  cat ("\n Estimated Coefficients: \n")
  print (x$coefficient)  
  
  cat ("\n Predicted classification: \n")
  print (x$predicted)
  
  cat ("\n Training Error: \n")
  print (x$training_error_rate)
}

Try the VDA package in your browser

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

VDA documentation built on May 29, 2017, 6:32 p.m.