Extract and object of class brmsfit from bayesnecfit or bayesmanecfit.

# S3 method for bayesnecfit
pull_brmsfit(object, ...)

# S3 method for bayesmanecfit
pull_brmsfit(object, model = NA, ...)

pull_brmsfit(object, ...)

Arguments

object

An object of class bayesnecfit or bayesmanecfit returned by bnec.

...

Arguments passed to other methods.

model

An optional character vector specifying the model to extract.

Value

A plot of the prior and posterior parameter probability densities.

See also

Examples

library(bayesnec)
data(manec_example)
brms_fit <- pull_brmsfit(manec_example, model = "nec4param")