| as_adjmat | R Documentation | 
as.matrix to retrieve adjacency matrix fastThis function does not perform significant checks. Furthermore, this function won't keep the row/col names.
as_adjmat(x)
x | 
 An object to be coerced as an adjacency matrix.  | 
set.seed(1231)
x <- matrix_to_network(rbernoulli(rep(5, 100)))
benchmarkito(
  as_adjmat = as_adjmat(x),
  as.matrix = lapply(x, as.matrix)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.