In https://github.com/r-spatial/spdep/issues/160 and https://github.com/r-spatial/spdep/pull/161, changes are made to the use of n.comp.nb. It seems now more important to move checks of the possible existence of disjoint subgraphs to the creation and modification of nb neighbour objects, adding these to the nb object at creation or modification in spdep. This means that separate checking may be carried out on the "ncomp" attribute of an nb object from spdep version >= 1.3-6 (branch n_comp until https://github.com/r-spatial/spdep/pull/161 is merged).
bigDM uses these facilities in: man/connect_subgraphs.Rd and R/connect_subgraphs.R, sometimes multiple times, so for larger and/or denser neighbour objects will benefit from the upcoming changes.
In https://github.com/r-spatial/spdep/issues/160 and https://github.com/r-spatial/spdep/pull/161, changes are made to the use of
n.comp.nb
. It seems now more important to move checks of the possible existence of disjoint subgraphs to the creation and modification ofnb
neighbour objects, adding these to thenb
object at creation or modification inspdep
. This means that separate checking may be carried out on the"ncomp"
attribute of annb
object fromspdep
version >= 1.3-6 (branch n_comp until https://github.com/r-spatial/spdep/pull/161 is merged).bigDM
uses these facilities in: man/connect_subgraphs.Rd and R/connect_subgraphs.R, sometimes multiple times, so for larger and/or denser neighbour objects will benefit from the upcoming changes.