plot-methods: 'plot'

Description Usage Arguments Examples

Description

A simulated scenario can be visualised with a plot. Included are process paths, the mean process and quartile processes.

Usage

1
2
## S4 method for signature 'PoissonProcessScenario'
plot(x, plot.mean, plot.quantiles, ...)

Arguments

x

The PoissonProcessScenario object to plot

plot.mean

TRUE to plot the mean process

plot.quantiles

TRUE to plot the quantile processes

...

Additional arguments affecting the plot

Examples

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

Example output

  [1]  0.0000000  0.3737993  0.7475985  1.1213978  1.4951971  1.8689963
  [7]  2.2427956  2.6165948  2.9903941  3.3641934  3.7379926  4.1117919
 [13]  4.4855912  4.8593904  5.2331897  5.6069890  5.9807882  6.3545875
 [19]  6.7283867  7.1021860  7.4759853  7.8497845  8.2235838  8.5973831
 [25]  8.9711823  9.3449816  9.7187809 10.0925801 10.4663794 10.8401786
 [31] 11.2139779 11.5877772 11.9615764 12.3353757 12.7091750 13.0829742
 [37] 13.4567735 13.8305728 14.2043720 14.5781713 14.9519705 15.3257698
 [43] 15.6995691 16.0733683 16.4471676 16.8209669 17.1947661 17.5685654
 [49] 17.9423647 18.3161639 18.6899632 19.0637624 19.4375617 19.8113610
 [55] 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000
 [61] 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000
 [67] 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000
 [73] 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000
 [79] 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000
 [85] 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000
 [91] 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000 20.0000000
 [97] 20.0000000 20.0000000 20.0000000 20.0000000

poisson documentation built on May 2, 2019, 6:53 a.m.