I have a rather simple question.
I have system with different states, departure rate = mu and arrival rate = lambda.
If i want to calculate the time to leave a state i want to do the following:
time_to_transition <- ....
Obviously i need help with the "..." part. What i want the code to say is that time_to_transition = Exp(mu) + Exp(lambda).
When i try:
time_to_transition <- Exp(mu) + Exp(lambda)
I get the error message "Exp" not found. Can any1 help me write it correctly
/Peter