Distance matrix conversion

Converts a column order distance matrix to a full symmetric matrix.

1 | ```
full(v)
``` |

`v` |
lower-triangular column order distance matrix. |

Converts lower-triangular distance matrix as written by R/S-Plus functions into a symmetric matrix. Note that lower() used on a 1x1 matrix will return the single element, which may not be the correct behavior in all cases, while full() used on a single element will return a 2x2 matrix.

a full symmetric matrix.

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ 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.