Closed haolu23 closed 6 years ago
From the documentation:
"Censoring must be coded as a non-negative integer, where 0 indicates right-censoring, and non-zero values indicate different event types. While {0,1,2,..,J} is standard, and recommended, events can be coded non-sequentially, although 0 must always be used for censoring."
I am using rfsrc to build competing risk survival random forest. The model builds fine without error but failed at prediction. The following is an example I taken from "survival" package's vignette "compete":
I got error :
After I looking into function "get.event.info", I see it fails at
This stop information contradicts with competing risk analysis's requirement that the event should be a factor. Is there a misunderstanding from me or the package doesn't support competing risk survival?
My system information