Learn R Programming

shipunov (version 1.0)

Read.tri.nts: Read 'NTSYSpc' files

Description

Read a lower triangular matrix

Usage

Read.tri.nts(file, ...)

Arguments

file

File to read

...

Arguments to 'scan()'

Details

Reads a lower triangular matrix which at least in my practice, typically come from 'NTSYSpc' program.

Examples

Run this code
# NOT RUN {
url.show("http://ashipunov.info/data/distances.nts")
download.file("http://ashipunov.info/data/distances.nts", "distances.nts")
distances <- Read.tri.nts("distances.nts", skip=2)
head(distances)
# }

Run the code above in your browser using DataLab