dnExponential
- Exponential Distribution
lambda : | RealPos (pass by const reference) |
The rate ( rate==1/mean) parameter. | |
Default : 1 |
# we set a rate parameter
rate <- 10.0# we create an exponentially distributed random variable
x ~ dnExponential(lambda=rate)
# compute the probability of the variable
x.probability()