Package: spBFA
Type: Package
Title: Spatial Bayesian Factor Analysis
Version: 1.5.0
Date: 2026-01-06
Authors@R: person("Samuel I.", "Berchuck", email = "sib2@duke.edu", role = c("aut", "cre"))
Description: Implements a spatial Bayesian non-parametric factor analysis model 
    with inference in a Bayesian setting using Markov chain Monte Carlo (MCMC). 
    Spatial correlation is introduced in the columns of the factor loadings 
    matrix using a Bayesian non-parametric prior, the probit stick-breaking 
    process. Areal spatial data is modeled using a conditional autoregressive 
    (CAR) prior and point-referenced spatial data is treated using a Gaussian 
    process. The response variable can be modeled as Gaussian, probit, Tobit, or
    Binomial (using Polya-Gamma augmentation). Temporal correlation is 
    introduced for the latent factors through a hierarchical structure and can 
    be specified as exponential or first-order autoregressive. Full details of 
    the package can be found in the accompanying vignette. Furthermore, the 
    details of the package can be found in "Bayesian Non-Parametric Factor 
    Analysis for Longitudinal Spatial Surfaces", by Berchuck et al (2019), 
    <doi:10.1214/20-BA1253> in Bayesian Analysis.
License: GPL (>= 2)
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
RoxygenNote: 7.3.2
NeedsCompilation: yes
Depends: R (>= 3.0.2)
Imports: graphics, grDevices, msm (>= 1.0.0), mvtnorm (>= 1.0-0),
        pgdraw (>= 1.0), Rcpp (>= 0.12.9), stats, utils
Suggests: coda, classInt, knitr, rmarkdown, womblR (>= 1.0.3)
LinkingTo: Rcpp, RcppArmadillo (>= 0.7.500.0.0)
VignetteBuilder: knitr
Language: en-US
Author: Samuel I. Berchuck [aut, cre]
Maintainer: Samuel I. Berchuck <sib2@duke.edu>
Packaged: 2026-01-06 23:01:24 UTC; sib2
Repository: CRAN
Date/Publication: 2026-01-07 22:30:02 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2026-01-21 04:14:26 UTC; windows
Archs: x64
