powered by
bmmfit
Restructure old bmmfit objects to work with the latest bmm version. This function is called internally when applying post-processing methods.
# S3 method for bmmfit restructure(x, ...)
A bmmfit object compatible with the latest version of bmm and brms.
An object of class bmmfit.
Currently ignored.
if (FALSE) { # file.exists("bmmfit_old.rds") # Load an old bmmfit object old_fit <- readRDS("bmmfit_old.rds") new_fit <- restructure(old_fit) }
Run the code above in your browser using DataLab