The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

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 ORCID iD [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:

Reference manual: BSTFA.html , BSTFA.pdf
Vignettes: BSTFA (source, R code)

Downloads:

Package source: BSTFA_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): BSTFA_0.1.0.tgz, r-oldrel (x86_64): BSTFA_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BSTFA 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.
Health stats visible at Monitor.