is_unweighted {PrInCE} | R Documentation

## Test whether a network is unweighted

### Description

Test whether a network is unweighted

### Usage

    is_unweighted(network)

### Arguments

`network` | the network to analyze

### Value

true if the input network is a square logical or numeric matrix

### Examples

    data(gold_standard)
    adj <- adjacency_matrix_from_list(gold_standard)
    is_unweighted(adj) ## returns TRUE

[Package PrInCE version 1.10.0 Index]