Learn R Programming

bayesnec (version 2.1.3.0)

pull_brmsfit.bayesnecfit: Extract and object of class brmsfit from bayesnecfit or bayesmanecfit.

Description

Extract and object of class brmsfit from bayesnecfit or bayesmanecfit.

Usage

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

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

pull_brmsfit(object, ...)

Value

An object of class brmsfit.

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.

See Also

bnec

Examples

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

Run the code above in your browser using DataLab