Exp: A convinience function for generating Exponential priors.

Description Usage Arguments Value See Also Examples

View source: R/interface.R

Description

A convinience function for generating Exponential priors.

Usage

1
Exp(mu = 1)

Arguments

mu

The mean of the exponential distribution, i.e. 1/rate

Value

A function yielding the log-PDF at x of a exponential distribution with given statistics.

See Also

Other priors: Flat, Normal

Examples

1
Exp(1)(1) == dexp(1,1, log = TRUE)

jlepird/prefeR documentation built on May 19, 2019, 12:46 p.m.