R/print.morals.R

Defines functions print.morals

print.morals <- function(x, ...) {
  cat("Call:\n")
  print(x$call)
  cat("\n")
  cat("Loss value:", round(x$f, 3),"\n")
  cat("Number of iterations:",x$ntel,"\n")
  cat("\n")
  cat("Coefficients:\n")
  print(round(x$beta, 4))
  cat("\nMultiple R-squared:", round(x$smc, 3), "\n\n")
}

Try the Gifi package in your browser

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

Gifi documentation built on Sept. 28, 2022, 3 a.m.