write_results: write_results
Description
Write results object to json (or csv) file
Note that the csv-file cannot be read into a results object again.
Usage
write_results(results, path, compression = FALSE, csv = FALSE)
Arguments
- results
(Results) Pharmpy results object
- path
(str) Path to results file
- compression
(logical) TRUE to compress the file. Not applicable to csv file
- csv
(logical) Save as csv file