Description Usage Arguments Details Examples
View source: R/cr_components.R
Creates a CompetingRiskResponseCombiner rJava object, which is used internally for constructing a forest. It is used when each tree in the forest is constructed, as it combines response level information (u & delta) into functions such as cumulative incidence curves, cause-specific cumulative hazard functions, and an overall Kaplan-Meier curve. This combination is done for each terminal node for each tree.
1 | CR_ResponseCombiner(events)
|
events |
A vector of integers specifying which competing risks event functions should be processed. This should correspond to all of the competing risk events that can occur, from 1 to the largest number. |
The user only needs to pass this object into train
as the
nodeResponseCombiner
parameter.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.