is_weighted {PrInCE} | R Documentation

## Test whether a network is weighted

### Description

Test whether a network is weighted

### Usage

    is_weighted(network)

### Arguments

`network` | the network to analyze

### Value

true if the input network is a square numeric matrix with more than two values

### Examples

    data(gold_standard)
    adj <- adjacency_matrix_from_list(gold_standard)
    is_weighted(adj) ## returns FALSE

[Package PrInCE version 1.0.1 Index]