namesToAdjacencyKey: Names to Adjacency Key
Description
Convert a vector of strings, representing names of a square matrix, to an adjacency
Usage
namesToAdjacencyKey(vector, upper_triangle = TRUE)
Arguments
- vector
Vector representing the names of a square matrix
- upper_triangle
Not Implemented
Details
Returns a matrix of 2 rows by choose(length(vector), 2) columns