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) 

fndemarqui/peppm documentation built on June 29, 2020, 2:08 a.m.