nhpp.event.times: Simulate non-homogeneous Poisson process event times
Description
Randomly simulate the num.events consecutive event times of a non-homogeneous poisson process.
Events are simulated using an underlying homogeneous process with given rate.
An event at time t is admitted with probability prob.func(t).
Note: The rate parameter of an homogeneous process is often called lambda.