Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

restructure

Restructure Old brmsfit Objects


Description

Restructure old brmsfit objects to work with the latest brms version. This function is called internally when applying post-processing methods. However, in order to avoid unnecessary run time caused by the restructuring, I recommend explicitly calling restructure once per model after updating brms.

Usage

restructure(x, rstr_summary = FALSE)

Arguments

x

An object of class brmsfit.

rstr_summary

Logical; If TRUE, the cached summary stored by rstan is restructured as well.

Value

A brmsfit object compatible with the latest version of brms.


brms

Bayesian Regression Models using 'Stan'

v2.15.0
GPL-2
Authors
Paul-Christian Bürkner [aut, cre], Jonah Gabry [ctb], Sebastian Weber [ctb], Andrew Johnson [ctb], Martin Modrak [ctb]
Initial release
2021-03-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.