dfWriteDat: Saves dataframe as tab-delimited text file with typical Curtin lab parameters
Description
Saves a dataframe as a tab-delimited data file with standard Curtin lab format.
Will add rownames as a first column in .dat file and label this column with SubID
Usage
dfWriteDat(Data, File, SubID = "SubID")
Arguments
Data
a dataframe
File
file name for .dat file
SubID
Name for new column with data from rownames.
If NULL, rownames will not be added to .dat file) Default is 'SubID'
Value
no return value but creates .dat file in current wd
Details
Uses these parameters with write.table
no append, quote, separator is tab, no rownames, yes for columnns.