arrival_rate {success}R Documentation

Estimate arrival rate of a Poisson points process

Description

In a Poisson point process, subjects arrive with exponentially distributed inter-arrival times with rate \psi. This function can be used to estimate the parameter \psi.

Usage

arrival_rate(data)

Arguments

data

A data.frame containing the following named column for each subject:

entrytime:

time of entry into study (numeric);

If the data.frame also contains a column named unit, the arrival rate will be determined for each unit separately.

Value

A (named) vector containing the estimated arrival rate in the data, or for each unit in the data.

Author(s)

Daniel Gomon

Examples

arrival_rate(surgerydat)



[Package success version 1.0.1 Index]