Description Usage Arguments Value
A function to ensure that the data frame fulfills the relevant variable content and type requirements.
1 |
df |
A data frame containing, at a minimum, exit, event, and exposure. |
qexit |
Name of the column in df containing times of event or censoring. |
qevent |
Name of the column in df containing codes for censoring (0) and event types (1-4). Analysis of more than 4 competing events is not supported by this function. |
qexposure |
Name of the column in df containing a binary (0/1) exposure variable for stratification. |
qentry |
Name of the column in df containing late entry times. |
qweights |
Name of the column in df containing user-supplied weights. If ipwvars is utilized, this argument is ignored. |
qipwvars |
A vector of names of columns in 'df' containing predictor variables for building a propensity score model for exposure and creating standardized inverse probability weights using this model. Overrides the weights argument. |
eoi |
Event number for the event of interest, useful when more than two events exist. If utilized, only two cumulative incidence curves will be plotted: one for the event of interest, and one for the composite of all competing events. Each event will still have its sHR/csHR ratio plotted. |
Check dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.