rpart.exp.RdThis function does the initialization step for rpart, when the response is a survival object. It rescales the data so as to have an exponential baseline hazard and then uses Poisson methods. This function would rarely if ever be called directly by a user.
rpart.exp(y, offset, parms, wt)
| y | the response, which will be of class |
|---|---|
| offset | optional offset |
| parms | parameters controlling the fit.
This is a list with components |
| wt | case weights, if present |
a list with the necessary initialization components