R/print.bestfit.R

Defines functions print.bestfit

#' @export
#'
print.bestfit <- function(x, n = 10, ...){
  est <- list()
  est$call <- x$call
  est$tab <- x$tab

  cat("Call:\n")
  print(est$call)

  cat("\nBest", n, "fits:\n")
  print(est$tab[1:n,])
  cat("...")
}
lfpdroubi/appraiseR documentation built on April 14, 2024, 10:27 p.m.