Learn R Programming

rENA (version 0.1.6.1)

namesToAdjacencyKey: Names to Adjacency Key

Description

Convert a vector of strings, representing names of a square matrix, to an adjacency

Usage

namesToAdjacencyKey(vector)

Arguments

vector

Vector representing the names of a square matrix

Details

Returns a matrix of 2 rows by choose(length(vector), 2) columns