cprocess(event) | R Documentation |
cprocess
plots the cumulative number of events (the counting
process) over time for each vector in the list. One or both of
times
and events
can be supplied.
cprocess(times=NULL, events=NULL, number=F, lty=NULL, xlim=NULL, ylim=NULL, xlab="Time", ylab="Counts", ...)
times |
Vector of times between events or a list of such vectors. |
events |
Vector of counts of events or a list of such vectors. |
number |
If TRUE, the counting processes are numbered consecutively on the graph. |
others |
Plotting control options. |
J.K. Lindsey
read.list
.
times <- rgamma(20,2,4) cprocess(times)