Skip to contents

The default priors for the Macrocystis pyrifera wet/dry model, for the priors argument of kb_fit_wetdry_macro().

Usage

kb_priors_wetdry_macro()

Value

A named list of prior objects, one per parameter.

Priors

Each entry is named after the parameter it sets, which kb_model_describe() prints with the model. A list passed to priors replaces the entries it names; the others keep their defaults. The prior family of each entry is fixed; only its arguments can be changed.

Examples

kb_priors_wetdry_macro()
#> $intercept
#> normal(mean = 0, sd = 2)
#> 
#> $precision
#> exponential(rate = 0.01)
#> 
if (FALSE) { # interactive()
# Change one prior; the others keep their defaults:
kb_fit_wetdry_macro(
  data_wetdry_sim_macro,
  priors = list(intercept = kb_prior_normal(mean = -2.4, sd = 0.5))
)
}