R/piecewise.R
time_grid.Rd
Time grid
time_grid(time, event, m = NULL)
Vector of failure times
Vector of failure indicators
Optional. Number of intervals. If NULL, the number of intervals is set to be equal to the number of distinct observed failure times.
NULL
Time grid.