as.matrix.pairwise: Converts a pairwise to a symmetric matrix. Uses the first entry for each (x,y) pair.
Description
Converts a pairwise to a symmetric matrix. Uses the first entry for each (x,y) pair.
Usage
# S3 method for pairwise
as.matrix(x, ...)
Arguments
- x
An object of class pairwise
- ...
other arguments