Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes to nb objects and use of spdep::n.comp.nb #4

Open
rsbivand opened this issue Jun 15, 2024 · 0 comments
Open

changes to nb objects and use of spdep::n.comp.nb #4

rsbivand opened this issue Jun 15, 2024 · 0 comments

Comments

@rsbivand
Copy link

In r-spatial/spdep#160 and r-spatial/spdep#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 r-spatial/spdep#161 is merged).

stampr uses n.comp.nb in: R/stamp.r, so for larger and/or denser neighbour objects will benefit from the upcoming changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant