read.vec {iL04}R Documentation

Read vector file

Description

Import a vector file, as it is used by the RuG/L04 software.

Usage

read.vec(file, encoding="iso-8859-1")

Arguments

file the name of the file the set of vectors was stored in, or a connection.

Refer to the documentation of the RuG/L04 software for a description of the file format.

encoding if file is a filename, the file is openen in this encoding.

The default encoding is iso-8859-1, because that is what the RuG/L04 PostScript programs expect.

Value

A matrix whose rows give the coordinates of each vector, with labels stored as rownames.

References

RuG/L04 - software for dialectometrics and cartography: http://www.let.rug.nl/~kleiweg/L04/

See Also

write.vec, read.dif, write.dif


[Package iL04 version 1.15 Index]