tidy_brmsfit: Brmsfit fixed effects as tidy data frame

View source: R/tidy_brmsfit.R

tidy_brmsfitR Documentation

Brmsfit fixed effects as tidy data frame

Description

Tidy helper for brmsfit objects

Usage

tidy_brmsfit(model, include_prior = TRUE, fix.intercept = FALSE, ...)

Arguments

model

brmsfit object

include_prior

Should description of priors be included?

fix.intercept

whether Intercept should be changed to (Intercept)

...

Other options to pass to broom.mixed::tidy

Details

Extracts fixed effects (class=b) and Intercept into a tidy data frame. You can include the description of the priors used by setting include_prior to TRUE. Note that I recommend that you specify all priors manually, if you set the default for a class it should still work but no guarantees with more complex models. Random effects currently not included, see broom.mixed::tidy for that (that function doesn't work with models lacking random effects, go figure)

Value

Tidy dataframe of fixed effects for use with other functions in this package


tsostarics/sostools documentation built on Nov. 22, 2022, 7:26 p.m.