Skip to contents

Adjacency Key

Usage

adjacency_key(codes, upper = TRUE, diagonal = FALSE)

Arguments

codes

character vector

upper

logical, default, TRUE, returns the key for the upper triangle, FALSE - not implemented yet

diagonal

logical, default FALSE. With upper, include the diagonal (self-connections): columns A & A, A & B, B & B, A & C, ... (the column-major upper triangle, as libqe's connection_names(codes, TRUE)).

Value

matrix