Transform a matrix or dist object to a pairwise list.
Usage
enpaire(x, ...)
"enpaire"(x, ...)
"enpaire"(x, upper = T, lower = T, ...)
"enpaire"(x, upper = T, lower = T, ...)
Arguments
x
Object of class matrix.
...
Arguments passed to methods.
upper
Logical, return values from upper triangle.
lower
Logical, return values from lower triangle.
Value
Returns a data.frame. The first and second column represent the
dimension names for a value in x. The following columns contain
the values for the upper or lower triangle.