adjacencyMatrix(object, ...)
adjacencyMatrix(x, force = TRUE) <- value
"adjacencyMatrix"
containing the representation to be setadjacencyMatrix
returns an object of class "adjacencyMatrix"
containing the adjacency matrix representation to be retrieved. The function adjacencyMatrix<-
returns a graph object in which the adjacency matrix representation has been set.adjacencyMatrix
and adjacencyMatrix<-
are generic.adjacencyMatrix-class
and simpleGraph-class