read.list | R Documentation |
read.list
reads sets of lines of data from a file and creates a
list of matrices. Different sets of lines may be have different lengths.
read.list(file="", skip=0, nlines=2, order=NULL)
file |
Name of the file to read |
skip |
Number of lines to skip at the beginning of the file |
nlines |
Number of lines per matrix |
order |
Order in which the lines are to be used as columns of the matrix. If NULL, they are placed in the order read. |
The list of matrices, each with nlines
columns, is returned.
J.K. Lindsey
lvna
, read.rep
,
read.surv
, restovec
,
rmna
, tvctomat
## Not run: y <- read.list("test.dat")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.