Skip to contents

Normal Prior Distribution

Usage

prior_normal(mu, sigma, transform = NULL)

Arguments

mu

(number) mean.

sigma

(number) standard deviation.

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_normal(0, 1)
#> 
#> Prior Object:
#>    normal(mu = 0, sigma = 1)
#>