R/methods.R

Defines functions gbm3basehaz gbm3survfit varimp pvimp survconcord get_indivsurv get_avesurv modtidy modfit cverror predtidy

Documented in gbm3basehaz gbm3survfit

#' @keywords internal
predtidy <- function(x)UseMethod("predtidy") 

#' @keywords internal
cverror <- function(x, y = NULL, ...)UseMethod("cverror")

#' @export
modfit <- function(object, return_data = FALSE, ...)UseMethod("modfit")

#' @export
modtidy <- function(x)UseMethod("modtidy") 

#' @export
get_avesurv <- function(object, ...)UseMethod("get_avesurv")

#' @export
get_indivsurv <- function(object, newdata)UseMethod("get_indivsurv")

#' @keywords internal
survconcord <- function(object, newdata = NULL, stats = FALSE, ...)UseMethod("survconcord")

#' @keywords internal
pvimp <- function(model, newdata, nrep = 20, nclusters = parallel::detectCores(), ...)UseMethod("pvimp")

#' @keywords internal
varimp <- function(object, type = c("coef", "perm", "model"), relative = TRUE, newdata, nrep = 20, nclusters = parallel::detectCores(), ...)UseMethod("varimp")

#' @export
gbm3survfit <- function(fit, newdata, ...) UseMethod("gbm3survfit")

#' @export
gbm3basehaz <- function(fit, centered = TRUE) UseMethod("gbm3basehaz")
CYGUBICKO/satpred documentation built on Sept. 10, 2023, 4:10 p.m.