WriteNAMES: Write NAMES to file

Description Usage Arguments Details Value Author(s) References See Also

Description

Save names and possibly further texts to a *.names file.

Usage

1
WriteNAMES(FileName, Names, Key, FurtherTexts, OutDirectory, DescriptionHeader, Comments)

Arguments

FileName

'String' , Name of the NAMES-file

Names

vector (1:n), Names to write in this file

optional:

Key

vector(1:n) , key numbers for NAMES-data, default vector from 1 till length of Names

FurtherTexts

matrix(1:n, 1:c), string matrix with row FurtherTexts to be put in third column

DescriptionHeader

vector (1:c), optional header for the FurtherTexts: Array of chars, this line wil be insterted at top of file with leading #

OutDirectory

'string', in case of out directory should not be working directory, default: getwd()

Comments

vector, Char Array or matrix, these lines will be insteted at top of file with leading #

Details

Note: No "#" or "%" in Names or Description are allowed. Typical usages are

1
WriteNAMES('File',c('Name1','Name2','Name3','Name4','Name5'),c(1:5))

WriteNAMES is a function to store names and connect them with keys.

Value

creates a *.names file in the working or out directory

Author(s)

Michael Thrun

References

www.uni-marburg.de/fb12/datenbionik databionics@mathematik.uni-marburg.de

See Also

ReadNAMES


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