cprocess {event}R Documentation

Plot Counting Process Data

Description

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.

Usage

cprocess(times=NULL, events=NULL, number=FALSE, lty=NULL, xlim=NULL,
        ylim=NULL, xlab="Time", ylab="Counts", ...)

Arguments

times Vector of times between events, a list of such vectors, or a repeated object.
events Vector of counts of events, a list of such vectors, or a repeated object.
number If TRUE, the counting processes are numbered consecutively on the graph.
others Plotting control options.

Author(s)

J.K. Lindsey

See Also

read.list, rmna.

Examples

times <- rgamma(20,2,scale=4)
cprocess(times)

[Package event version 1.0 Index]