pdexp: pdexp

View source: R/basic_functions.R

pdexpR Documentation

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

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")

bliss documentation built on March 18, 2022, 5:46 p.m.