cprocess: Plot Counting Process Data

Description Usage Arguments Author(s) See Also Examples

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

1
2
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.

ylab

Plotting control options.

xlab

Plotting control options.

xlim

Plotting control options.

ylim

Plotting control options.

lty

Plotting control options.

...

Plotting control options.

Author(s)

J.K. Lindsey

See Also

read.list, rmna.

Examples

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

Example output

Loading required package: rmutil

Attaching package: 'rmutil'

The following object is masked from 'package:stats':

    nobs

The following objects are masked from 'package:base':

    as.data.frame, units

event documentation built on May 2, 2019, 4:07 a.m.