Defines functions print.surv_explainer

Documented in print.surv_explainer

#' Print Survival Explainer Summary
#' @param x a model survival expaliner created with the `explain()` function
#' @param ... further arguments passed to or from other methods
#' @export

print.surv_explainer <- function(x, ...) {
  cat("Model label: ", x$label, "\n")
  cat("Model class: ", paste(x$class, collapse = ","), "\n")
  cat("Data head  :\n")

Try the survxai package in your browser

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

survxai documentation built on Aug. 28, 2020, 5:07 p.m.