A helper function only needed within AP_insect_simulator that generates random numbers from an exponential distribution
using the base/stats R function stats::runif.
This function simulates a set of random numbers with a fixed rate safely (ie for different input cases stemming from virus types).
gen_exp(n, rin, virusType)Numeric vector: n random exponential number.
Numeric: number of points to sample.
Numeric: event rate.
Character: SPT or PT plant virus type.