R/print.vim.R

Defines functions print.vim

Documented in print.vim

#' Print a \code{vim} object
#'
#' Prints out the table of estimates, confidence intervals, and standard errors for a \code{vim} object.
#'
#' @param x the \code{vim} object of interest.
#' @param ... other options, see the generic \code{print} function.
#' @export

print.vim <- function(x, ...) {
  # print out the matrix
  cat("Variable importance estimates:\n")
  print(format(x, ...), quote = FALSE)
}

Try the vimp package in your browser

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

vimp documentation built on Aug. 16, 2021, 5:08 p.m.