read.dif {iL04}R Documentation

Read difference matrix file

Description

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

Usage

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

Arguments

file the name of the file the difference matrix 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

An object of class dist, with labels from the input file stored in the attribute Labels.

References

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

See Also

as.dist, write.dif, read.vec, write.vec


[Package iL04 version 1.15 Index]