get_survival_curve_data: Extract the underlying data from a survival curve (as...

View source: R/iaibase.R

get_survival_curve_dataR Documentation

Extract the underlying data from a survival curve (as returned by predict.survival_learner or get_survival_curve)

Description

The data is returned as a list with two keys: times containing the time for each breakpoint on the curve, and coefs containing the probability for each breakpoint on the curve.

Usage

get_survival_curve_data(curve)

Arguments

curve

The curve to query.

Details

Julia Equivalent: IAI.get_survival_curve_data

Examples

## Not run: iai::get_survival_curve_data(curve)


iai documentation built on Oct. 19, 2024, 1:07 a.m.