Description Usage Arguments Value
surv_pieces
returns the probability of being event-free at time t
assuming piecewise constant hazard.
1 | surv_pieces(t, change_points, lambdas, mu = 0, dropouts = FALSE)
|
t |
time |
change_points |
The breakpoints for the piecewise hazard function. |
lambdas |
A vector of length one more than |
mu |
The dropout hazard (a constant). Assumed independent to event hazard. |
dropouts |
Is dropout the event of interest? Default is FALSE. |
The probability of being free of the event-of-interest at time t
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.