tidy.bboufit: Get Tidy Tibble from bboufit Object.

View source: R/tidy.R

tidy.bboufitR Documentation

Get Tidy Tibble from bboufit Object.

Description

Get a tidy tibble of the coefficient estimates and confidence intervals from Bayesian model fit.

Usage

## S3 method for class 'bboufit'
tidy(
  x,
  conf_level = 0.95,
  estimate = median,
  sig_fig = 3,
  include_random_effects = TRUE,
  ...
)

Arguments

x

The object.

conf_level

A number between 0 and 1 of the confidence level.

estimate

A function to calculate the estimate.

sig_fig

A whole number of the significant figures to round estimates by.

include_random_effects

A flag indicating whether to include random effects in coefficient table. Standard deviation estimates will always be included.

...

Unused parameters.

Value

A tibble of the tidy coefficient summary.

See Also

coef.bboufit()

Other generics: augment.bboufit(), augment.bboufit_ml(), glance.bboufit(), glance.bboufit_ml(), tidy.bboufit_ml()

Examples

if (interactive()) {
  fit <- bb_fit_survival(bboudata::bbousurv_a)
  tidy(fit)
}

poissonconsulting/bboutools documentation built on July 16, 2025, 11:14 p.m.