Implements Bayesian spatio-temporal factor analysis models for multivariate data observed across space and time. The package provides tools for model fitting via Markov chain Monte Carlo (MCMC), spatial and temporal interpolation, and visualization of latent factors and loadings to support inference and exploration of underlying spatio-temporal patterns. Designed for use in environmental, ecological, or public health applications, with support for posterior prediction and uncertainty quantification. Includes functions such as BSTFA() for model fitting and plot_factor() to visualize the latent processes. Functions are based on and extended from methods described in Berrett, et al. (2020) <doi:10.1002/env.2609>.
| Version: | 0.1.0 |
| Depends: | R (≥ 3.5) |
| Imports: | MASS, RColorBrewer, ggplot2, ggpubr, mgcv, MCMCpack, coda, npreg, matrixcalc, scatterplot3d, sf, Rcpp, lubridate, Matrix, stats, methods, RcppArmadillo |
| LinkingTo: | Rcpp, RcppArmadillo |
| Suggests: | knitr, rmarkdown, utils, devtools, kableExtra, bookdown, magick, maps, loo |
| Published: | 2025-08-28 |
| DOI: | 10.32614/CRAN.package.BSTFA |
| Author: | Adam Simpson [aut],
Candace Berrett |
| Maintainer: | Candace Berrett <cberrett at stat.byu.edu> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | yes |
| CRAN checks: | BSTFA results |
| Reference manual: | BSTFA.html , BSTFA.pdf |
| Vignettes: |
BSTFA (source, R code) |
| Package source: | BSTFA_0.1.0.tar.gz |
| Windows binaries: | r-devel: BSTFA_0.1.0.zip, r-release: BSTFA_0.1.0.zip, r-oldrel: BSTFA_0.1.0.zip |
| macOS binaries: | r-release (arm64): BSTFA_0.1.0.tgz, r-oldrel (arm64): BSTFA_0.1.0.tgz, r-release (x86_64): BSTFA_0.1.0.tgz, r-oldrel (x86_64): BSTFA_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=BSTFA to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.