predict.BuyseTTEM: Prediction with Time to Event Model

View source: R/BuyseTTEM.R

predict.BuyseTTEMR Documentation

Prediction with Time to Event Model

Description

Evaluate the cumulative incidence function (cif) / survival in one of the treatment groups.

Usage

## S3 method for class 'BuyseTTEM'
predict(object, time, treatment, strata, cause = 1, iid = FALSE, ...)

Arguments

object

time to event model.

time

[numeric vector] time at which to evaluate the cif/survival.

treatment

[character/integer] Treatment or index of the treatment group.

strata

[character/integer] Strata or index of the strata.

cause

[integer] The cause relative to which the cif will be evaluated.

iid

[logical] Should the influence function associated with the cif/survival be output?

...

not used, for compatibility with the generic method.


BuyseTest documentation built on March 31, 2023, 6:55 p.m.