R/print.vda.le.R

Defines functions print.vda.le

Documented in print.vda.le

print.vda.le <-
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 Lambdas 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)
  
  cat ("\n Number of Active Variables: \n")
  print (x$nonzeros)
  
  cat ("\n Selected Variables with Nonzero Coefficients: \n")
  print (names(x$feature)[x$selected+1])
}

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.