Package: spifa Type: Package Title: Bayesian Spatial Item Factor Analysis Version: 0.1.0 Encoding: UTF-8 Authors@R: c( person(c("Erick", "A."), "Chacón-Montalván", , "erick.chaconmontalvan@wur.nl", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-8068-1034")), person("Emanuele", "Giorgi", role = "ctb"), person("Benjamin M.", "Taylor", role = "ctb")) Description: Fits spatial item factor analysis models for binary responses, following Chacón-Montalván, E. A., Parry, L., Giorgi, E., Torres, P., Orellana, J. D. Y., Moraga, P., and Taylor, B. M. (2025) , using full Bayesian inference via adaptive Metropolis-Hastings within Gibbs sampling and auxiliary variables with a probit link function. The latent factors are modelled as the sum of a predictor effect, a multivariate Gaussian process capturing spatial dependence, and a multivariate non-spatial term, allowing users to fit and predict spatially-referenced constructs such as food insecurity or socioeconomic indices. Standard exploratory and confirmatory item factor analysis are supported as particular cases, simply by dropping the spatial structure. License: GPL-3 URL: https://github.com/ErickChacon/spifa, https://ErickChacon.github.io/spifa/ Depends: R (>= 4.1.0) BugReports: https://github.com/ErickChacon/spifa/issues Imports: Rcpp (>= 0.12.13), RcppTN, tibble, dplyr, tidyr, sf, ggplot2, posterior, ggridges, patchwork LinkingTo: Rcpp, RcppArmadillo, RcppTN Suggests: knitr, rmarkdown, testthat (>= 3.0.0), mirt, gstat VignetteBuilder: knitr Config/testthat/edition: 3 Config/roxygen2/version: 8.0.0 NeedsCompilation: yes Packaged: 2026-10-22 15:42:20 UTC; root Author: Erick A. Chacón-Montalván [aut, cre] (ORCID: ), Emanuele Giorgi [ctb], Benjamin M. Taylor [ctb] Maintainer: Erick A. Chacón-Montalván Repository: https://cran.r-universe.dev Date/Publication: 2026-10-22 10:30:02 UTC RemoteUrl: https://github.com/cran/spifa RemoteRef: HEAD RemoteSha: 68e38b172e47c2020d5c8524644c86d6681ba22d