Package: BSTFA 0.1.0

Candace Berrett

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>.

Authors:Adam Simpson [aut], Candace Berrett [aut, cre]

BSTFA_0.1.0.tar.gz
BSTFA_0.1.0.tar.gz(r-4.7-arm64)BSTFA_0.1.0.tar.gz(r-4.7-x86_64)BSTFA_0.1.0.tar.gz(r-4.6-arm64)BSTFA_0.1.0.tar.gz(r-4.6-x86_64)
BSTFA_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
BSTFA/json (API)

# Install 'BSTFA' in R:
install.packages('BSTFA', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • out.sm - Output of BSTFA evaluated on a subset of utahDataList
  • utahDataList - Utah Minimum Temperatures

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascpp

2.00 score 2 scripts 208 downloads 18 exports 95 dependencies

Last updated from:e3628fc224. Checks:4 WARNING, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING214
linux-devel-x86_64WARNING227
source / vignettesOK283
linux-release-arm64WARNING230
linux-release-x86_64WARNING226
wasm-releaseOK191

Exports:bisquare1dbisquare2dBSTFABSTFAfullcompute_summarycomputeLogLikconvergence_diagdefineRegionmakeNewSmakePredSmap_spatial_paramplot_annualplot_factorplot_fourier_basesplot_locationplot_spatial_paramplot_tracepredictBSTFA

Dependencies:abindbackportsbootbroomcarcarDataclassclassIntclicodacolorspacecorrplotcowplotcpp11DBIDerivdoBydplyre1071farverforecastFormulafracdiffgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandKernSmoothlabelinglatticelifecyclelme4lmtestlubridatemagrittrMASSMatrixmatrixcalcMatrixModelsmcmcMCMCpackmgcvmicrobenchmarkminqamodelrnlmenloptrnnetnpregnumDerivpbkrtestpillarpkgconfigpolynomproxypurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstatixs2S7scalesscatterplot3dsfSparseMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDateunitsurcautf8vctrsviridisLitewithrwkzoo

BSTFA Package

Rendered fromBSTFA-Vignette.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2025-08-28
Started: 2025-08-28