is_weighted {PrInCE} | R Documentation |
Test whether a network is weighted
is_weighted(network)
network |
the network to analyze |
true if the input network is a square numeric matrix with more than two values
data(gold_standard) adj <- adjacency_matrix_from_list(gold_standard) is_weighted(adj) ## returns FALSE