write_csv {pharmr}R Documentation

write_csv

Description

Write dataset to a csv file and updates the datainfo path

Usage

write_csv(model, path = NULL, force = FALSE)

Arguments

model

(Model) Model whose dataset to write to file

path

(str (optional)) Destination path. Default is to use original path with .csv suffix.

force

(logical) Overwrite file with same path. Default is FALSE.

Value

(Model) Updated model object

Examples

## Not run: 
model <- load_example_model("pheno")
model <- write_csv(model, path="newdataset$csv")

## End(Not run)


[Package pharmr version 0.96.0 Index]