Learn R Programming

TIMP (version 1.13.6)

efit2file: Convert 'tim' FORTRAN efit files to plain matrices in ASCII files

Description

'tim' efit files sometimes represent spectra associated with multiple datasets; for each matrix of spectra stored in such a file, this function writes a plain text file.

Usage

efit2file(filename, skip = 2, numcol, nrows=vector())

Value

No return value, called for side effects

Arguments

filename

This is the path to the file to read in, as a quoted string.

skip

number of lines at the top of the file before the data begins

numcol

number of columns the data

nrows

a vector saying how many rows are in each of the matrices of spectra in the file; for instance nrows = c(256,256,256) would indicate that the file stores spectra associated with 3 datasets, each of which contains 256 wavelengths. If nrows is not given, then a single file containing all data is written.

Author

Katharine M. Mullen, Ivo H. M. van Stokkum

See Also

readData