Default priors for the Nereocystis weight model
Source:R/kb_priors_weight_nereo.R
kb_priors_weight_nereo.RdThe default priors for the Nereocystis luetkeana weight model, for the
priors argument of kb_fit_weight_nereo(). weight_floor applies only to
form = "packard_floor".
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_macro(),
kb_priors_nitrogen_nereo(),
kb_priors_size_nereo(),
kb_priors_weight_macro(),
kb_priors_wetdry_macro(),
kb_priors_wetdry_nereo()
Examples
kb_priors_weight_nereo()
#> $intercept
#> normal(mean = 0, sd = 2)
#>
#> $diameter_power
#> normal(mean = 2, sd = 1)
#>
#> $weight_floor
#> normal(mean = 0, sd = 0.5)
#>
#> $sd_site
#> exponential(rate = 1)
#>
#> $sd_year
#> exponential(rate = 1)
#>
#> $sd_site_year
#> exponential(rate = 1)
#>
#> $sd_residual
#> exponential(rate = 1)
#>
if (FALSE) { # interactive()
# Change one prior; the others keep their defaults:
kb_fit_weight_nereo(
data_weight_sim_nereo,
priors = list(sd_site = kb_prior_exponential(rate = 2))
)
}