surv: Print fitted Survival and Hazard Probabilites of a DStree Object
Description
This function prints the fitted survival and hazard
probabilities of every terminal node of a DStree
object.
Usage
surv(object)
Arguments
object
fitted model object of class
"DStree". This is assumed to be the result of some
function that produces an object with the same named
components as that returened by the DStree
function.
Value
Two matrices containing Survival and Hazard probabilities,
where each row denotes fitted probabilities
in the respective terminal leaves. The first column refers to the
probability of the first observed timepoint, the second column
to the second timepoint, etc.