write_csv
Write dataset to a csv file and updates the datainfo path
write_csv(model, path = NULL, force = FALSE)
model
: (Model) Model whose dataset to write to filepath
: (str (optional)) Destination path. Default is to use original path with .csv suffix.force
: (logical) Overwrite file with same path. Default is FALSE.(Model) Updated model object
## Not run: model <- load_example_model("pheno") model <- write_csv(model, path="newdataset$csv") ## End(Not run)