aorsf_internal: Internal helper function for aorsf objects

aorsf_internalR Documentation

Internal helper function for aorsf objects

Description

Internal helper function for aorsf objects

Usage

survival_prob_orsf(object, new_data, eval_time, time = deprecated())

Arguments

object

A model object from aorsf::orsf().

new_data

A data frame to be predicted.

eval_time

A vector of times to predict the survival probability.

time

Deprecated in favor of eval_time. A vector of times to predict the survival probability.

Value

A tibble with a list column of nested tibbles.

Examples

library(aorsf)
aorsf <- orsf(na.omit(lung), Surv(time, status) ~ age + ph.ecog, n_tree = 10)
preds <- survival_prob_orsf(aorsf, lung[1:3, ], eval_time = c(250, 100))

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