The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

sfclust: Bayesian Spatial Functional Clustering

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 ORCID iD [aut, cre], Ruiman Zhong ORCID iD [aut], Paula Moraga ORCID iD [aut]
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

Documentation:

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)

Downloads:

Package source: sfclust_1.1.0.tar.gz
Windows binaries: r-devel: sfclust_1.1.0.zip, r-release: sfclust_1.1.0.zip, r-oldrel: sfclust_1.1.0.zip
macOS binaries: r-release (arm64): sfclust_1.1.0.tgz, r-oldrel (arm64): sfclust_1.1.0.tgz, r-release (x86_64): sfclust_1.1.0.tgz, r-oldrel (x86_64): sfclust_1.1.0.tgz
Old sources: sfclust archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sfclust to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.