Hello
I made a decision tree survival prediction model.
The nodes of rpart.plot
shows three rows.
How do I interpret the number of the first row?
I guess it is a relative risk or odds ratio.
Please let me know its meaning.
library(prodlim)
library(rpart)
library(survival)
set.seed(50)
d <- SimSurv(50)
decision_spec <- decision_tree() %>%
set_engine("rpart") %>%
set_mode("censored regression") %>%
update(cost_complexity = 0.001,
tree_depth = 3,
min_n = 5)
f_fit <- fit(decision_spec,
Surv(time,status)~X1+X2,data=d)
f_fit$fit$rpart %>%
rpart.plot::rpart.plot(main = "Survival Prediction")