Skip to contents

Rebuild a model from JSON

Usage

model_from_json(json)

Arguments

json

A JSON string, or a path to a file written by model_to_json().

Value

A multimod model.

See also

Examples

f <- tempfile(fileext = ".json")
model_to_json(example_models$energyRt$multimod, path = f)
m2 <- model_from_json(f)