powered by
simulateNHPP(targetfn, maxintensity, T = Inf)
simulateNHPP(function(x) {sin(x)+1}, 2, 100) simulateNHPP(function(x) {x^2}, 100, 10)
Run the code above in your browser using DataLab