include.self

0th

Percentile

Include self in neighbours list

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

Keywords
spatial
Usage
include.self(nb)
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.

See Also

summary.nb

Aliases
  • include.self
Examples
example(columbus)
coords <- coordinates(columbus)
summary(col.gal.nb, coords)
summary(include.self(col.gal.nb), coords)
Documentation reproduced from package spdep, version 0.6-9, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.