Exp {prefeR}R Documentation

A convenience function for generating Exponential priors.

Description

A convenience function for generating Exponential priors.

Usage

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

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

[Package prefeR version 0.1.3 Index]