# Conversion of the lower triangular matrix of a distance matrix into an array

### Description

Auxiliary function to convert of the lower triangular matrix of a distance matrix into an array

### Usage

1 | ```
f_distance2vector(distance)
``` |

### Arguments

`distance` |
A distance matrix or a symmetric matrix |

### Value

Array resulting from the concatenation of the rows of the lower triangular matrix of the input symetric matrix. Array length is n*(n-1)/2, where n is the number of rows of the symetric matrix.

### Examples

1 2 3 4 5 6 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.