Bayesian clustering of spatial regions with similar functional shapes using spanning trees and latent Gaussian models. The method enforces spatial contiguity within clusters and supports a wide range of latent Gaussian models, including non-Gaussian likelihoods, via the R-INLA framework. The algorithm is based on Zhong, R., Chacón-Montalván, E. A., and Moraga, P. (2026) <doi:10.1002/sim.70597>, extending the approach of Zhang, B., Sang, H., Luo, Z. T., and Huang, H. (2023) <doi:10.1214/22-AOAS1643>. The package includes tools for model fitting, convergence diagnostics, visualization, and summarization of clustering results.
| Version: | 1.1.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | igraph, sf, SparseM, stars, dplyr, methods, Matrix, ggplot2, patchwork |
| Suggests: | ggraph, here, INLA, knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2026-07-28 |
| DOI: | 10.32614/CRAN.package.sfclust |
| Author: | Erick A. Chacón-Montalván
|
| Maintainer: | Erick A. Chacón-Montalván <erick.chaconmontalvan at wur.nl> |
| BugReports: | https://github.com/ErickChacon/sfclust/issues |
| License: | MIT + file LICENSE |
| URL: | https://erickchacon.github.io/sfclust/, https://github.com/ErickChacon/sfclust |
| NeedsCompilation: | no |
| Additional_repositories: | https://inla.r-inla-download.org/R/stable |
| Materials: | README, NEWS |
| CRAN checks: | sfclust results |
| Reference manual: | sfclust.html , sfclust.pdf |
| Vignettes: |
Introduction to sfclust (source, R code) Create a stars dataset (source, R code) Advanced features (source, R code) Data frame interface (source, R code) |
| Package source: | sfclust_1.1.0.tar.gz |
| Windows binaries: | r-devel: sfclust_1.0.1.zip, r-release: sfclust_1.0.1.zip, r-oldrel: sfclust_1.0.1.zip |
| macOS binaries: | r-release (arm64): sfclust_1.0.1.tgz, r-oldrel (arm64): sfclust_1.0.1.tgz, r-release (x86_64): sfclust_1.0.1.tgz, r-oldrel (x86_64): sfclust_1.0.1.tgz |
| Old sources: | sfclust archive |
Please use the canonical form https://CRAN.R-project.org/package=sfclust to link to this page.