powered by
This function generates random numbers from exponentail distribution
prexp(n, Time = TRUE)
a vector of n numbers from exponential distribution
how many numbers we need
time dependent or not
prexp(10) prexp(10) prexp(10,FALSE) prexp(10,FALSE)
Run the code above in your browser using DataLab