findInt: Function to identify the times' intervals

Description Usage Arguments Value Examples

View source: R/pexp.R

Description

Function to identify the times' intervals

Usage

1
findInt(time, tgrid)

Arguments

time

vector of times.

tgrid

time grid of the PE distribution.

Value

indicator of times's intervals

Examples

1
2
3
4
data(telecom)
tgrid <- with(telecom, timeGrid(time, status))
tgrid
findInt(telecom$time, tgrid) 

peppm documentation built on July 1, 2020, 8:56 p.m.