card {spdep} | R Documentation

## Cardinalities for neighbours lists

### Description

The function tallies the numbers of neighbours of regions in the neighbours list.

### Usage

    card(nb)

### Arguments

`nb` | a neighbours list object of class `nb`

### Value

An integer vector of the numbers of neighbours of regions in the neighbours list.

### Author(s)

Roger Bivand Roger.Bivand@nhh.no

### See Also

`summary.nb`

### Examples

    data(columbus)
    table(card(col.gal.nb))

[Package spdep version 0.3-25 Index]