plot.poisson_process: Plot diagnostics a 'poisson_process' object

Description Usage Arguments Value See Also Examples

View source: R/plot_methods.R

Description

plot method for class "poisson_process".

Usage

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

See Also

poisson_process_sim.

Examples

1
2
3
4
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")

paulnorthrop/stat1004 documentation built on Nov. 17, 2019, 3:49 a.m.