R/print_description.R

Defines functions print.description

Documented in print.description

#' Print Natural Language Descriptions
#'
#' Generic function
#'
#' @param x an individual explainer produced with the `describe()` function
#' @param ... other arguments
#'
#' @export
print.description <- function(x, ...) {
  for (element in x) {
    cat(element, "\n")
  }

  return(invisible(NULL))
}

Try the DALEX package in your browser

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

DALEX documentation built on July 28, 2021, 5:09 p.m.