fixdmat: Distance matrix conversion

Description Usage Arguments Details Value Author(s) See Also

Description

Converts a row-order lower-triangular distance matrix to a full symmetric matrix.

Usage

1

Arguments

v

lower-triangular distance matrix in row order.

Details

R and S-Plus distance functions such as dist and bcdist return a lower triangular distance matrix in column order. Some other programs, such as EUCLID, return the lower triangular matrix in row order. To use this matrix in R/S-Plus functions, it must be converted from row order to column order.

Value

Full symmetric distance matrix.

Author(s)

Sarah Goslee, Sarah.Goslee@ars.usda.gov

See Also

lower, full, dist, bcdist



Search within the ecodist package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.