| start.Lexis {Epi} | R Documentation |
Extract the entry time, exit time, status, or duration of follow-up from a
Lexis object.
entry(x, time.scale = NULL)
exit(x, time.scale = NULL)
status(x, at=c("exit","entry"))
## S3 method for class 'Lexis':
deltat(x, ...)
x |
an object of class Lexis |
time.scale |
a string or integer indicating the time scale. If omitted, the first time scale is used as a default |
at |
string indicating the time point at which status is to be measured |
... |
optional arguments to the deltat method |
The entry and exit functions return a vector containing
the entry times and exit times, respectively, on the requested time
scale. The status function returns the status either at entry
or (by default) at exit, and the deltat method returns the length
of the follow-up interval.
Martyn Plummer