Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

read.list

Read a List of Matrices from a File for Unbalanced Repeated Measurements


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

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

Examples

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

rmutil

Utilities for Nonlinear Regression and Repeated Measurements Models

v1.1.5
GPL-2
Authors
Bruce Swihart [cre, aut], Jim Lindsey [aut] (Jim created this package, Bruce is maintaining the CRAN version)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.