Learn R Programming

kineticF (version 1.0)

dist2full: Distance structure to full symmetric matrix

Description

Creates a symmetric distance matrix from a lower triangular vector structure. It is used to calculate distances within other functions. This function is for internal use and is not meant to be called by the user.

Usage

dist2full(dis)

Arguments

dis
a distance structure

Value

a full symmetric matrix of distances

References

Becker, R.A.; Chambers, J.M. (1984). S: An Interactive Environment for Data Analysis and Graphics. Pacific Grove, CA, USA: Wadsworth & Brooks/Cole. ISBN 0-534-03313-X.