Skip to contents

These accessors return the current default priors used by mlumr(), tagged with $default = TRUE and the package version. prior_summary() prints the version so cross-release reproducibility is diagnosable: if a later release changes a default, fits produced with an older version will still carry the correct $version tag.

Usage

default_prior_intercept()

default_prior_beta()

default_prior_sigma()

Value

A prior list (see prior_normal()).

Examples

default_prior_intercept()
#> $distribution
#> [1] "normal"
#> 
#> $mean
#> [1] 0
#> 
#> $sd
#> [1] 10
#> 
#> $df
#> [1] NA
#> 
#> $autoscale
#> [1] FALSE
#> 
#> $default
#> [1] TRUE
#> 
#> $version
#> [1] "0.1.0"
#> 
default_prior_beta()
#> $distribution
#> [1] "normal"
#> 
#> $mean
#> [1] 0
#> 
#> $sd
#> [1] 2.5
#> 
#> $df
#> [1] NA
#> 
#> $autoscale
#> [1] FALSE
#> 
#> $default
#> [1] TRUE
#> 
#> $version
#> [1] "0.1.0"
#> 
default_prior_sigma()
#> $distribution
#> [1] "normal"
#> 
#> $mean
#> [1] 0
#> 
#> $sd
#> [1] 2.5
#> 
#> $df
#> [1] NA
#> 
#> $autoscale
#> [1] FALSE
#> 
#> $default
#> [1] TRUE
#> 
#> $version
#> [1] "0.1.0"
#>