nhpp.sim.slow: Simulate a non-homogeneous Poisson process.
Description
Get the n consecutive event times of a non-homogeneous poisson process.Events are simulated using an homogeneous process with rate, and an event at time t is admitted with probability prob.func(t).