Extract and object of class brmsfit from bayesnecfit or bayesmanecfit.

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

# S3 method for class '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

An object of class brmsfit.

See also

Examples

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