Description Usage Arguments Value
This function is called before creating the EventData object
1 | CalculateProgEventTypes(has.event, prog.date, dth.date)
|
has.event |
A vector or whether subjects had event |
prog.date |
A vector of dates (or strings in the standard eventPrediction allowed formats) of progression.date or blank if unknown |
dth.date |
A vector of dates (or strings in the standard eventPrediction allowed formats) of death date or blank if unknown |
A vector with NA if subject does not have event, "Death" if dth.date <= prog.date or prog.date blank, "Progression (not death)" if prog.date < dth.date or dth.date blank "Progression (unknown if death)" if both prog.date and dth.date are blank
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.