is_symmetric | R Documentation |
make_adjacency
converted matrix is symmetricThis function takes an adjacency matrix as input and checks if it is symmetric.
is_symmetric(adj)
adj |
an adjacency matrix converted from a raw input matrix via |
Ilias Moutsopoulos and Hajk-Georg Drost
is_adjacency
, is_standard
, is_binary
# look at raw matrix
edgynode::adjacency_matrix_test_3
# convert raw matrix into a edgynode adjacency matrix
clean_matrix <- edgynode::make_adjacency(edgynode::adjacency_matrix_test_3)
# make clean matrix symmetric
clean_matrix_symm <- edgynode::make_symmetric(clean_matrix)
# look at symmetric matrix
clean_matrix_symm
# test converted matrix
edgynode::is_symmetric(clean_matrix_symm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.