Package: BSTFA Title: Bayesian Spatio-Temporal Factor Analysis Model Description: 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) . Version: 0.1.2 Authors@R: c( person("Adam", "Simpson", , "adamiser810@gmail.com", role = c("aut")), person("Candace", "Berrett", email="cberrett@stat.byu.edu", role=c("aut","cre"), comment=c(ORCID="0000-0003-4721-3065")) ) License: GPL (>= 2) Encoding: UTF-8 Roxygen: list(markdown = TRUE) VignetteBuilder: knitr Depends: R (>= 3.5) LinkingTo: Rcpp, RcppArmadillo LazyData: true LazyDataCompression: xz Imports: MASS, RColorBrewer, ggplot2, ggpubr, mgcv, MCMCpack, coda, npreg, matrixcalc, scatterplot3d, sf, Rcpp, lubridate, Matrix, stats, methods, RcppArmadillo, geosphere Suggests: knitr, rmarkdown, devtools, kableExtra, bookdown, magick, maps, loo Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev make libicu-dev libssl-dev libproj-dev libsqlite3-dev libudunits2-dev Repository: https://cberrettstat.r-universe.dev Date/Publication: 2026-10-02 21:14:48 UTC RemoteUrl: https://github.com/cberrettstat/bstfa RemoteRef: HEAD RemoteSha: 7b555a4d0af484a87d05db71ae741457e4c12c9f NeedsCompilation: yes Packaged: 2026-11-01 08:31:44 UTC; root Author: Adam Simpson [aut], Candace Berrett [aut, cre] (ORCID: ) Maintainer: Candace Berrett