Learn R Programming

BBEST (version 0.1-8)

read.data: Read data from file

Description

Reads data from a text file with columns "x", "y", and, optionally, "lambda", "sigma" and "SB".

Usage

read.data(file = stop("'file' must be specified"), ...)

Arguments

file

character, the name of the file which the data are to be read from.

...

further arguments to be passed to read.table (optional).

Value

An object of type data. See set.data for details.

Details

This function implements one of the ways to load experimental data. The file must consist of a header with column names and several columns below. First two columns in file must be x and y values. The others could specify lambda, sigma and SB.