Learn R Programming

poisson (version 1.0)

hpp.scenario: Simulate an homogeneous Poisson process scenario

Description

Simulate an homogeneous Poisson process scenario, with sample paths, expected value process, and quantile processes.

Usage

hpp.scenario(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 or from methods

Value

See Also

nhpp.scenario, PoissonProcessScenario

Examples

Run this code
scen = hpp.scenario(rate = 5, num.events = 20, num.sims = 100)
scen@x.bar
plot(scen, main='My HPP Scenario')

Run the code above in your browser using DataLab