restructure.bmmfit {bmm}R Documentation

Restructure Old bmmfit Objects

Description

Restructure old bmmfit objects to work with the latest bmm version. This function is called internally when applying post-processing methods.

Usage

## S3 method for class 'bmmfit'
restructure(x, ...)

Arguments

x

An object of class bmmfit.

...

Currently ignored.

Value

A bmmfit object compatible with the latest version of bmm and brms.

Examples


# Load an old bmmfit object
old_fit <- readRDS("bmmfit_old.rds")
new_fit <- restructure(old_fit)


[Package bmm version 1.0.1 Index]