Include self in neighbours list

Share:

Description

The function includes the region itself in its own list of neighbours, and sets attribute "self.included" to TRUE.

Usage

1

Arguments

nb

input neighbours list of class nb

Value

The function returns an object of class nb with a list of integer vectors containing neighbour region number ids; attribute "self.included" is set to TRUE.

Author(s)

Roger Bivand Roger.Bivand@nhh.no

See Also

summary.nb

Examples

1
2
3
4

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.