Default priors for the Macrocystis cover calibration model
Source:R/kb_priors_cover_calibration_macro.R
kb_priors_cover_calibration_macro.RdThe default priors for the Macrocystis pyrifera cover calibration model,
for the priors argument of kb_fit_cover_calibration_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_nereo(),
kb_priors_nitrogen_macro(),
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_cover_calibration_macro()
#> $cover_slope
#> lognormal(meanlog = 2, sdlog = 1)
#>
#> $biomass_floor
#> normal(mean = 0.4, sd = 0.3)
#>
#> $tide_height_slope
#> normal(mean = 0.227, sd = 0.03)
#>
#> $cv_residual
#> exponential(rate = 1)
#>
#> $presence_intercept
#> normal(mean = 0, sd = 2)
#>
#> $presence_cover_slope
#> normal(mean = 0, sd = 20)
#>
#> $sd_site
#> exponential(rate = 1)
#>
#> $sd_year
#> exponential(rate = 1)
#>
if (FALSE) { # interactive()
# Change one prior; the others keep their defaults:
biomass <- kb_predict_biomass_in_situ(
fit_weight_sim_macro,
data_size_census_sim_macro,
data_survey_in_situ_sim_macro
)
kb_fit_cover_calibration_macro(
biomass,
priors = list(cover_slope = kb_prior_lognormal(meanlog = 2, sdlog = 0.5))
)
}