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 #9

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

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

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).

CARBayes uses n.comp.nb in: R/binomial.bymCARMCMC.R, R/binomial.lerouxCARMCMC.R, R/binomial.multilevelCARMCMC.R, R/binomial.MVlerouxCARMCMC.R, R/gaussian.lerouxCARMCMC.R, R/gaussian.multilevelCARMCMC.R, R/gaussian.MVlerouxCARMCMC.R, R/multinomial.MVlerouxCARMCMC.R, R/poisson.bymCARMCMC.R, R/poisson.lerouxCARMCMC.R, R/poisson.multilevelCARMCMC.R, R/poisson.MVlerouxCARMCMC.R, R/zip.bymCARMCMC.R, R/zip.lerouxCARMCMC.R, so for larger and/or denser neighbour objects will benefit from the upcoming changes.

@rsbivand rsbivand changed the title changes to nb objects and use of spdep::n.comp.nb` changes to nb objects and use of spdep::n.comp.nb Jun 15, 2024
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