tidycoef: Tidy parameters from brmsfit objects

Description Usage Arguments Value

View source: R/tidycoef.R

Description

Extract brmsfit parameter (summaries) into a tidy tibble. Returns a tibble where the type of parameter (varying / average) is represented separately from the parameter. Especially useful for plots where the "fixed" parameters should be shown next to their "random" counterparts.

Usage

1
2
tidycoef(model, grouping = NA, pars = NA, summary = FALSE,
  level = 0.95)

Arguments

model

A brmsfit.

grouping

Name of grouping variable (e.g. (1 | grouping)). Defaults to NA which returns the unique / first grouping factor in model.

pars

Parameters to extract; must match exactly. Combine many with c(...).

summary

Should summary statistics be returned instead of raw values.

level

For interval limits.

Value

a tibble


mvuorre/brmstools documentation built on Aug. 1, 2019, 9:29 p.m.