is_unweighted {PrInCE} | R Documentation |
Test whether a network is unweighted
is_unweighted(network)
network |
the network to analyze |
true if the input network is a square logical or numeric matrix
data(gold_standard) adj <- adjacency_matrix_from_list(gold_standard) is_unweighted(adj) ## returns TRUE