Skip to contents

Make predictions for time-to-event outcomes at specified horizon times

Usage

# S4 method for class 'Landmarking'
predict_survival(x, landmarks, windows, method, ...)

Arguments

x

An object of class Landmarking.

landmarks

A numeric vector of landmark times.

windows

Vector of prediction windows determining horizon times.

method

R function that is used to make predictions

...

Additional arguments passed to the prediction function (e.g. number of classes/clusters for lcmm).

Value

An object of class Landmarking.