timeGrid {peppm} | R Documentation |
Time grid for the PE distribution
Description
This function make use of the observed times and failure indicators to create a time grid for the PE distribution.
Usage
timeGrid(time, status, n.int = NULL)
Arguments
time |
Vector of failure times |
status |
Vector of failure indicators |
n.int |
Optional. Number of intervals. If |
Value
the time grid needed to specify the PE distribution.
Examples
data(telecom)
tgrid1 <- with(telecom, timeGrid(time, status))
tgrid1
tgrid2 <- with(telecom, timeGrid(time, status, n.int = 4))
tgrid2
[Package peppm version 0.0.1 Index]