We run random forest for our dat a which we check that we have positive events however we get this error below:
code we use:
rf1 <- rfsrc(Surv(Event_time, Event) ~ ., data = dff1, importance = FALSE)
Error in get.grow.event.info(yvar, family, ntime = ntime) : no deaths in data! Calls: subsample ... lapply -> FUN -> do.call -> rfsrc -> get.grow.event.info Execution halted
Could you please help how we can solve this issue. Thank you!
Hello all,
We run random forest for our dat a which we check that we have positive events however we get this error below: code we use:
rf1 <- rfsrc(Surv(Event_time, Event) ~ ., data = dff1, importance = FALSE)
Error in get.grow.event.info(yvar, family, ntime = ntime) : no deaths in data! Calls: subsample ... lapply -> FUN -> do.call -> rfsrc -> get.grow.event.info Execution halted
Could you please help how we can solve this issue. Thank you!