powered by
Write dataset to a csv file and updates the datainfo path
write_csv(model, path = NULL, force = FALSE)
(Model) Updated model object
(Model) Model whose dataset to write to file
(str (optional)) Destination path. Default is to use original path with .csv suffix.
(logical) Overwrite file with same path. Default is FALSE.
if (FALSE) { model <- load_example_model("pheno") model <- write_csv(model, path="newdataset$csv") }
Run the code above in your browser using DataLab