read.list: Read a List of Matrices from a File for Unbalanced Repeated...

Description Usage Arguments Value Author(s) See Also Examples

Description

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.

Usage

1
read.list(file="", skip=0, nlines=2, order=NULL)

Arguments

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.

Value

The list of matrices, each with nlines columns, is returned.

Author(s)

J.K. Lindsey

See Also

lvna, read.rep, read.surv, restovec, rmna, tvctomat

Examples

1
## Not run: y <- read.list("test.dat")


Search within the rmutil package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.