View source: R/basic_functions.R
pdexp | R Documentation |
Probability function of a discretized Exponentiel distribution.
pdexp(a, l_values)
a |
a positive value, the mean of the Exponential prior. |
l_values |
a numerical value, the discrete support of the parameter l. |
a numerical vector, which is the prability function on l_values
.
pdexp(10,seq(0,1,1))
x <- seq(0,10,le=1e3)
plot(x,dexp(x,0.5),lty=2,type="l")
lines(pdexp(0.5,1:10),type="p")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.