R/print.R

#' #' @keywords internal
#' #' 
#' #' @export
#' print.explain <- function(x, ...) {
#'   if (is.matrix(x)) {
#'     x <- data.matrix(as.data.frame(x))
#'   } 
#'   print(x)
#'   invisible(x)
#' }

Try the fastshap package in your browser

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

fastshap documentation built on June 7, 2023, 5:48 p.m.