powered by
Probability of n arrival during time t jointly with final state j if initial state is i
probabilityOfNArrival(i, j, n, t, m = c(0.2, 0.3), lambda = c(1, 2))
double
MC i-th state
MC j-th state
number of arrivals
upper integration limit
distribution parameters vector of sojourn times in alternating environment states
Poisson flow intensity vector
probabilityOfNArrival(1, 0, 10, 3, m=c(0.5, 0.3), lambda=c(2, 1))
Run the code above in your browser using DataLab