Description Usage Arguments Value
Computes pseudo-observations for modeling competing risks based on the possibly weighted cumulative incidence function
1 |
time |
follow up time |
event |
cause indicator, use 0 as censoring code and integers for other causes |
tmax |
a vector of time points at which pseudo-observations are to be computed. If missing, uses each event time |
weights |
a vector of case weights, i.e., 1/probabilities |
A list containing the following objects
The ordered time points at which the pseudo-observations are evaluated.
The ordered codes for different causes.
A list of matrices - a matrix for each of the causes, ordered by codes. Each row of a matrix belongs to one individual (ordered as in the original data set), each column presents a time point (ordered in time).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.