| tpast {event} | R Documentation |
tpast(y)
y |
Vector of times. |
tpast creates a vector of length sum(y) of times since the
immediately preceding event occurred for use with ehr.
J.K. Lindsey
bp, ehr,
ident, pp,
tccov, ttime,
tvcov.
y <- c(5,3,2,4) ptime <- tpast(y) ptime