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

View source: R/pull_brmsfit.R

pull_brmsfit.bayesnecfitR Documentation

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 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

A plot of the prior and posterior parameter probability densities.

See Also

bnec

Examples

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


bayesnec documentation built on Sept. 26, 2023, 9:06 a.m.