Learn R Programming

hesim (version 0.5.0)

survival: Survival object

Description

An object of class survival returned from Psm$sim_survival() or PsmCurves$survival().

Arguments

Components

A survival object inherits from data.table and contains the following columns:

sample

A random sample from the PSA.

strategy_id

The treatment strategy ID.

patient_id

The patient ID.

grp_id

The subgroup ID.

curve

One of the N-1 survival curves in an N-state partitioned survival model. Each curve corresponds to unique endpoint.

t

The time at which a survival probability is computed.

survival

The probability of surviving to time t.

See Also

Psm, PsmCurves