2.7 Exporting Data

Depending on work-flow, you may need to export your dataset for use in another statistical software program. The write.csv() function is a convenient method for outputting comma delimited files.

write.csv(wisc3raw, file = "wisc3raw.csv", row.names = FALSE, na = "-99")

Note that by default the write.csv() function will include an extra column of row numbers and will notate missing data with an NA. More information on exporting data is available at http://www.statmethods.net/input/exportingdata.html.