BSTFA: Bayesian Spatio-Temporal Factor Analysis Model
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 |
Author: |
Adam Simpson [aut],
Candace Berrett
[aut, cre] |
Maintainer: |
Candace Berrett <cberrett at stat.byu.edu> |
License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
NeedsCompilation: |
yes |
CRAN checks: |
BSTFA results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=BSTFA
to link to this page.