Posterior summaries of the model terms.
Arguments
- x
A
kb_fitobject.- ...
These dots are for future extensions and must be empty.
- conf_level
A number greater than 0 and less than 1 giving the compatibility-interval level.
- estimate
A function that reduces a numeric vector of posterior draws to a single estimate, such as
medianormean.- sig_fig
A whole number of significant figures for summary output.
- include_random_effects
A flag specifying whether to include the group-level random-effect terms in the output.
Details
The terms are the population-level effects and the random-effect standard
deviations. With include_random_effects = TRUE, the group-level deviations
are added, each named by its level, as in site_effect[otter_cove] or
site_year_effect[otter_cove,2020].
Examples
tidy(fit_weight_sim_nereo)
#> # A tibble: 7 × 4
#> term estimate lower upper
#> <chr> <dbl> <dbl> <dbl>
#> 1 intercept -0.666 -0.918 -0.421
#> 2 diameter_power 2.92 2.71 3.13
#> 3 weight_floor 0.118 0.098 0.14
#> 4 sd_site 0.2 0.0406 0.521
#> 5 sd_year 0.0544 0.00298 0.254
#> 6 sd_site_year 0.261 0.179 0.372
#> 7 sd_residual 0.463 0.438 0.488