Save a model to a JSON file.
save_json.RdSerializes a pptr or pprf model to JSON format compatible
with the C++ CLI. The JSON includes the model structure, group labels,
training parameters, and optionally variable importance metrics.
Usage
save_json(model, path, ...)
# S3 method for class 'pptr'
save_json(model, path, include_metrics = TRUE, ...)
# S3 method for class 'pprf'
save_json(model, path, include_metrics = TRUE, ...)