powered by
nhpp.plot(rate, num.events, prob.func, num.sims = 100, t0 = 0, t1 = NULL, num.points = 100, quantiles = c(0.025, 0.975), ...)
nhpp.scenario
hpp.plot
intensity <- function(t) pmin(t/3, 1) nhpp.plot(rate = 5, num.events = 20, num.sims = 100, main='My simulated NHPPs', prob.func=intensity)
Run the code above in your browser using DataLab