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

# S3 method for moultmcmc
fixef(object, summary = TRUE, probs = c(0.025, 0.975), pars = NULL, ...)

Arguments

object

a moultmcmc model

summary

logical, should posterior samples be summarised for each parameter

probs

numeric, desired quantiles for summary statistics

pars

Optional names of coefficients to extract. By default, all coefficients are extracted.

...

Currently ignored.

Value

If summary is TRUE, a matrix for the population-level effects. If summary is FALSE, a matrix with one row per posterior draw and one column per population-level effect.