determine_Adj.subfun: Determine the right adjacency matrix subsetting function...

Description Usage Arguments Value

View source: R/adjacency_mode_tools.R

Description

Determine the right adjacency matrix subsetting function according to the chosen igraph mode

Usage

1

Arguments

mode

Character scalar, specifies how igraph should interpret the supplied matrix. Default here is directed. Possible values are: directed, undirected, upper, lower, max, min, plus. Added vector too. See details graph_from_adjacency_matrix().

Value

a subsetting function among non.diagonal, upper.tri, lower.tri or function(V) {rep(TRUE,length(V))}


R-KenK/SimuNet documentation built on Oct. 22, 2021, 1:27 a.m.