survival_time_mboost: A wrapper for mean survival times with 'mboost' models

View source: R/boost_tree-mboost.R

survival_time_mboostR Documentation

A wrapper for mean survival times with mboost models

Description

A wrapper for mean survival times with mboost models

Usage

survival_time_mboost(object, new_data)

Arguments

object

A model from blackboost().

new_data

Data for prediction

Value

A tibble.

Examples

library(mboost)
boosted_tree <- blackboost(Surv(time, status) ~ age + ph.ecog,
  data = lung[-14, ], family = CoxPH()
)
survival_time_mboost(boosted_tree, new_data = lung[1:3, ])

censored documentation built on April 14, 2023, 12:30 a.m.