Learn R Programming

DynForest (version 1.1.3)

combine_times: Extend predictions for new times

Description

Extend predictions for new times

Usage

combine_times(pred, newtimes, type = "surv")

Arguments

pred

Prediction matrix

newtimes

Numeric vector of new times

type

Character indicating survival function (type="surv") or risk function (type="risk")