Learn R Programming

bliss (version 1.0.2)

pdexp: pdexp

Description

Probability function of a discretized Exponentiel distribution.

Usage

pdexp(a, l_values)

Arguments

a

a positive value, the mean of the Exponential prior.

l_values

a numerical value, the discrete support of the parameter l.

Value

a numerical vector, which is the prability function on l_values.

Examples

Run this code
# NOT RUN {
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")
# }

Run the code above in your browser using DataLab