restructure.bmmfit | R Documentation |
bmmfit
ObjectsRestructure old bmmfit
objects to work with
the latest bmm version. This function is called
internally when applying post-processing methods.
## S3 method for class 'bmmfit'
restructure(x, ...)
x |
An object of class |
... |
Currently ignored. |
A bmmfit
object compatible with the latest version
of bmm and brms.
# Load an old bmmfit object
old_fit <- readRDS("bmmfit_old.rds")
new_fit <- restructure(old_fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.