Description Usage Arguments Value Author(s) See Also Examples
Opens a tab-delimited data file with standard Curtin lab format which include using a header and setting delimiter to tab and as.is=TRUE
If variable named SubID (default) or other text supplied by SubID variable exists in dat file, row names will be set with this variable and then variable is removed from new data frame.
1 |
File |
File name for .dat file including extension |
SubID |
String to indicate name of SubID variable. Default is 'SubID'. If set to NULL, rownames will not be altered |
SubIDDigits |
Length of SubID rowname string. If NULL, will be set to max length in data |
returns a data frame
John J. Curtin jjcurtin@wisc.edu
read.table(), read.delim(), write.table(), dfRownames()
1 2 | ##dfReadDat('Sample1.dat) #not executable unless Sample1.dat exists in path
##dfReadDat('Sample2.dat, SubID = 'subnum') #not executable unless Sample2.dat exists in path
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.