Reads a text file in table format and creates a matrix from it. The file
may contain several sets, separated by empty lines. Lines starting by
'#' are considered comments and treated as empty lines. The function
adds an additional column
set to indicate to which set each row
1 2 3
Vector of optional names for the variables. The default is to use "V" followed by the column number.
matrix()) containing a representation of the
data in the file. An extra column
set is added to indicate to
which set each row belongs.
A known limitation is that the input file must use newline characters
native to the host system, otherwise they will be, possibly silently,
misinterpreted. In GNU/Linux the program
dos2unix may be used
to fix newline characters.
There are several examples of data sets in
read.data.sets() is a deprecated alias. It will be removed in the next
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.