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, lzma = FALSE, csv = FALSE)
Arguments
- results
(Results) Pharmpy results object
- path
(str) Path to results file
- lzma
(logical) TRUE for lzma compression. Not applicable to csv file
- csv
(logical) Save as csv file