Rebuild a model from JSON
Arguments
- json
A JSON string, or a path to a file written by
model_to_json().
Examples
f <- tempfile(fileext = ".json")
model_to_json(example_models$energyRt$multimod, path = f)
m2 <- model_from_json(f)
Rebuild a model from JSON
A JSON string, or a path to a file written by model_to_json().
f <- tempfile(fileext = ".json")
model_to_json(example_models$energyRt$multimod, path = f)
m2 <- model_from_json(f)