if (FALSE) {
# Import model
spec <- import_model("my_model.json")
# Recreate model
fit <- qbrms(
formula = as.formula(spec$model$formula),
data = my_data,
family = get(spec$model$family)()
)
}
Run the code above in your browser using DataLab