cif | R Documentation |
Predicting the cumulative incidence function for subtype
, IPWsubtype
, and AIPWsubtype
models.
cif(fit, newdata, individual = FALSE, id, na.action = na.pass)
fit |
|
newdata |
a data.frame which has variables in formula and markers. This value must be specified. |
individual |
a logical value: if |
id |
a variable name identifying subject id. |
na.action |
na.action to be passed |
The cumulative incidence function with a subtype defined by marker values in newdata
. If a fitted object has strata, strata variable must be included in newdata
.
An object of class cif
representing the fit. A list of time and cumulative incidence functions for distinct subjects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.