powered by
Write dataset to file and updates the datainfo path
Curretly supports csv files.
write_dataset(model, path = NULL, force = FALSE, type = "csv")
(Model) Updated Pharmpy model
(Model) Pharmpy model
(str (optional)) Destination path. Default is to use original path with .csv suffix.
(logical) Overwrite file with same path. Default is FALSE.
(str) Can only be csv
if (FALSE) { model <- load_example_model("pheno") model <- write_dataset(model, path="newdataset$csv") }
Run the code above in your browser using DataLab