Skip to contents

Log-Normal Prior Distribution

Usage

prior_lognormal(mu, sigma, transform = NULL)

Arguments

mu

(number) mean of the logarithm.

sigma

(number) standard deviation of the logarithm.

transform

(PriorTransform | NULL) optional package-defined transformation from the model parameter to the prior density scale. See prior_transform() for support, Jacobians and examples. NULL keeps the prior on the model parameter scale.

Value

A Prior object.

Examples

prior_lognormal(0, 1)
#> 
#> Prior Object:
#>    lognormal(mu = 0, sigma = 1)
#>