plot method for class "poisson_process".

# S3 method for class 'poisson_process'
plot(x, y, ...)

Arguments

x

an object of class "poisson_process", a result of a call to poisson_process_sim.

y

Not used.

...

Additional arguments passed to plot

Value

Nothing is returned.

Examples

sim1 <- poisson_process_sim(lambda = 2, hours = 24)
plot(sim1)

sim2 <- poisson_process_sim(lambda = 2, n_events = 50)
plot(sim2, pch = 4, xlab = "event times")