Description Usage Arguments Value Author(s) See Also Examples
Simulate an homogeneous Poisson process scenario, with sample paths, expected value process, and quantile processes.
| 1 2 | hpp.scenario(rate, num.events, num.sims = 100, t0 = 0, t1 = NULL, 
        num.points = 100, quantiles = c(0.025, 0.975), ...)
 | 
| 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 | 
Instance of PoissonProcessScenario
Kristian Brock - Author, Daniel Slade - Contributor
nhpp.scenario, PoissonProcessScenario
| 1 2 3 | scen = hpp.scenario(rate = 5, num.events = 20, num.sims = 100)
scen@x.bar
plot(scen, main='My HPP Scenario')
 | 
  [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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.