Read data files in prelude format, which has 2 line headers, the first containing the column name the second containing dashse.
Based on script in the geo-package, there called s2pre.
Arguments
- file
the name of the file which the data are to be read from.
- rownames
a logical value (default is FALSE) indicating whether the first column should be treated as row names.
- underscore2dot
a logical value (default is FALSE) indicating if underscores in column names should be replaced with dots. Note the default is the reverse from that in the function s2pre, the latter being a somewhat odd default.
See also
write_prelude
for writing prelude files