Default priors for the Macrocystis nitrogen model
Source:R/kb_priors_nitrogen_macro.R
kb_priors_nitrogen_macro.RdThe default priors for the Macrocystis pyrifera nitrogen model, for the
priors argument of kb_fit_nitrogen_macro().
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.
See also
Other priors:
kb_prior_exponential(),
kb_prior_lognormal(),
kb_prior_normal(),
kb_priors_carbon_macro(),
kb_priors_carbon_nereo(),
kb_priors_cover_calibration_macro(),
kb_priors_cover_calibration_nereo(),
kb_priors_nitrogen_nereo(),
kb_priors_size_nereo(),
kb_priors_weight_macro(),
kb_priors_weight_nereo(),
kb_priors_wetdry_macro(),
kb_priors_wetdry_nereo()
Examples
kb_priors_nitrogen_macro()
#> $intercept
#> normal(mean = -3.7, sd = 0.5)
#>
#> $precision
#> exponential(rate = 0.001)
#>
if (FALSE) { # interactive()
# Change one prior; the others keep their defaults:
kb_fit_nitrogen_macro(
data_nitrogen_sim_macro,
priors = list(intercept = kb_prior_normal(mean = -3.5, sd = 0.5))
)
}