Forum: help


RE: ranger package [ Reply ] By: Srini Rajagopalan on 2019-11-25 17:02 | [forum:47181] |
My apologies. I am new to the forum. I didn't realize that even if it was a new thread, it would go to the same forum which it was posted. |
RE: ranger package [ Reply ] By: Achim Zeileis on 2019-11-25 08:15 | [forum:47177] |
Please see the documentation etc. for the "ranger" package - which is independent from the "partykit" package this forum supports. |
ranger package [ Reply ] By: Srini Rajagopalan on 2019-11-25 05:29 | [forum:47176] |
How do I extract only the coefficients (or the hazard ratios) from the ranger object for every terminal node for a variable? For example, if I run the following statement, rf_coxph_fit <- ranger(Surv(time,status) ~ x, data = aml, seed = 1234, num.trees = 5, mtry = NULL, max.depth = NULL), how do I get the coefficient of x1 from all the 5 trees as a vector? |