Learn R Programming

poisson (version 1.0)

hpp.plot: Plot simulated homogeneous Poisson processes

Description

Simulate and plot simulated homogeneous Poisson processes, also returning the mean and quantile processes.

Usage

hpp.plot(rate, num.events, num.sims = 100, t0 = 0, t1 = NULL, num.points = 100, quantiles = c(0.025, 0.975), ...)

Arguments

rate
The rate at which events occur in the Poisson process, aka lambda
num.events
Number of event times to simulate in each process
num.sims
Number of simulated paths to plot
t0
Start time
t1
End time
num.points
Number of points to use in estimating mean and quantile processes
quantiles
plot these quantile processes
...
further arguments to be passed to methods

Value

x
Matrix of event times, one process per column
x.bar
Vector of mean process event times
x.q
Matrix of quantile event times, one process per column

See Also

hpp.scenario, nhpp.plot

Examples

Run this code
hpp.plot(rate = 5, num.events = 20, num.sims = 100, main='My simulated HPPs')

Run the code above in your browser using DataLab