ReadTXT: load text to a file

Description Usage Arguments Details Value Author(s) See Also

Description

Read *.txt files. The files containing matrices separated by " " (white space).

Usage

1
ReadTXT(FileName,InDirectory=getwd(),NrLinesToSkip,HasNamesInCols,EmptySymbol)

Arguments

FileName,

name of *.txt file

InDirectory

InDirectory where *.txt file is

NrLinesToSkip

Optinal: so many lines are skipped bevore reading default:0

HasNamesInCols

Optional: ==TRUE means Colum 1. is a name column default: FALSE

EmptySymbol

Optional: Symbol used for NaN default: EmptySymbol='NaN'

Details

Each string has to be a single line in the *.txt file. filename may have a .txt extension, if not, it will be added automatically.

Value

Data(1:n,1:d) data i.e. all numeric colums of *.txt

Author(s)

Michael Thrun

See Also

addext, DataIO, WriteTXT


aultsch/DataIO documentation built on May 14, 2019, 10:34 p.m.