Description Usage Arguments Value Examples
Generates a sample from the truncated Exponential random variable rTruncatedExp(n=1, rate=1,lowerLim=0, upperLim=Inf, eps=1e-100 )
1 | rTruncatedExp(n = 1, rate = 1, lowerLim = 0, upperLim = Inf, eps = 1e-100)
|
n |
number of samples to be generated. |
rate |
rate of the Exponential Distribution. |
lowerLim |
Lower limit of the support. A number greater than 0. |
upperLim |
UpperLimit of the Support. A number greater then |
eps=1e-100 |
Incase a discrete sampler is to be deployed, |
Samples from the truncated Exponential distribution
1 2 | rTruncatedExp(n=1, rate=2)
rTruncatedExp(n=1, rate=200, lowerLim=20, upperLim=21)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.