This object contains an example fitted Bayesian competition
model outputted by comp_bayes_lm()
.
comp_bayes_lm_ex
A list subclass containing the following elements:
Prior parameters supplied to comp_bayes_lm()
Posterior parameters outputted by comp_bayes_lm()
The formula object used in model fitting
Other example data objects:
blocks_ex
,
census_1_ex
,
census_2008_bw
,
census_2014_bw
,
census_2_ex
,
focal_vs_comp_ex
,
growth_ex
,
growth_spatial_ex
,
growth_toy
,
species_bw
,
study_region_bw
,
study_region_ex
#>#># Compare model predictions to observation predictions <- focal_vs_comp_ex %>% mutate(growth_hat = predict(comp_bayes_lm_ex, focal_vs_comp_ex)) predictions %>% rmse(truth = growth, estimate = growth_hat) %>% pull(.estimate)#> [1] 0.1900981#>