Skip to content

BSTFA

0.1.0

Bayesian Spatio-Temporal Factor Analysis Model

0packages depend
2.2Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Candace BerrettFirst published 2025-08-281 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 7.1 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
17
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-08
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-04-07
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
91%
Return-value docs
100%
References docs
0%

Downloads

2.2K
CRAN downloads in the past year
Rank #15,218 · ~6/day · ~187/mo
Daily download trend is not available in this view yet.
25230 days
73790 days
2.2K1 year
Compare downloads with other packages →
Also on415 r2u51 autocran

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 3,504 (44%)Other 2,299 (29%)Rd 1,078 (13%)Vignettes 878 (11%)C++ 239 (3%)CSS 7 (0%)
Code characteristics
Cyclomatic complexity
7.0 median / 83 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

32 18 exported

Complexity

20.6 avg / 83 max

Call network

32 nodes / 19 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-08-28
Total releases
1 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5
Bundled data
1.7 MB / 2 files
Download size
3.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →