R/print.sltime.R

print.sltime <- function (x, digits=7, ...)
{
  cat("The contribution of the leaners: ", "\n\n", sep = "")

  print(data.frame(leaners = x$methods, weights = round(x$weights$values, digits)))

  cat("\n", "Minimum of the ", x$cv, "-fold CV of the loss function ",
      x$metric$metric, ":", round(x$metric$value, digits), ".", sep = "")
}

Try the survivalSL package in your browser

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

survivalSL documentation built on April 4, 2025, 3:55 a.m.