Package: sfclust 1.0.1

Erick A. Chacón-Montalván
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. (2024) <doi:10.48550/arXiv.2407.12633>, 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.
Authors:
sfclust_1.0.1.tar.gz
sfclust_1.0.1.tar.gz(r-4.7-any)sfclust_1.0.1.tar.gz(r-4.6-any)
sfclust_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
sfclust/json (API)
| # Install 'sfclust' in R: |
| install.packages('sfclust', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:9fc64a952e. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 180 | ||
| source / vignettes | OK | 248 | ||
| linux-release-x86_64 | OK | 198 | ||
| wasm-release | OK | 155 |
Exports:data_alldata_eachgenclustlog_mlik_allsfclust
Dependencies:abindclassclassIntclicpp11cubelyrDBIdplyre1071genericsglueigraphKernSmoothlatticelifecyclemagrittrMASSMatrixpillarpkgconfigproxypurrrR6Rcpprlangs2sfSparseMstarstibbletidyselectunitsutf8vctrswithrwk
Last update: 2025-05-19
Started: 2025-05-19
Last update: 2025-05-19
Started: 2025-05-19
Last update: 2025-05-19
Started: 2025-05-19
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Prepare data in long format | data_all |
| Prepare data for a cluster | data_each |
| Fitted Values for 'sfclust' Objects | fitted.sfclust |
| Generate clusters for spatial clustering | genclust |
| Fit models and compute the log marginal likelihood for all clusters | log_mlik_all |
| Plot function for 'sfclust' objects | plot.sfclust |
| Print method for sfclust objects | print.sfclust |
| Bayesian spatial functional clustering | sfclust |
| Spatio-temporal Binomial data | stbinom |
| Spatio-temporal Gaussian data | stgaus |
| Summary method for sfclust objects | summary.sfclust |
| Update MCMC Clustering Procedure | update.sfclust |