Define a truncated normal prior (on [0;+Inf])

normal_p(mean, sd)

Arguments

mean

Mean of the untruncated normal.

sd

Standard deviation of the untruncated normal.

Value

A list defining the prior.

Examples

normal_p(mean = 0, sd = 4)
#> trun_normal(mean=0,sd=4)