brms (version 0.10.0)

fixef.brmsfit: Extract Population-Level Estimates

Description

Extract the population-level ('fixed') effects from a brmsfit object.

Usage

"fixef"(object, estimate = "mean", ...)

Arguments

object
An object of class brmsfit
estimate
A character vector specifying which coefficients (e.g., "mean", "median", "sd", or "quantile") should be calculated for the population-level effects.
...
Further arguments to be passed to the functions specified in estimate

Value

A matrix with one row per population-level effect and one column per calculated estimate.

Examples

Run this code
## Not run: 
# fit <- brm(time | cens(censored) ~ age + sex + disease, 
#            data = kidney, family = "exponential")
# fixef(fit, estimate = c("mean", "sd"))
# ## End(Not run)

Run the code above in your browser using DataLab