Skip to content

DIFM

Dynamic ICAR Spatiotemporal Factor Models

v1.0.1 · Nov 11, 2025 · GPL (>= 2)

Description

Bayesian factor models are effective tools for dimension reduction. This is especially applicable to multivariate large-scale datasets. It allows researchers to understand the latent factors of the data which are the linear or non-linear combination of the variables. Dynamic Intrinsic Conditional Autocorrelative Priors (ICAR) Spatiotemporal Factor Models 'DIFM' package provides function to run Markov Chain Monte Carlo (MCMC), evaluation methods and visual plots from Shin and Ferreira (2023)<doi:10.1016/j.spasta.2023.100763>. Our method is a class of Bayesian factor model which can account for spatial and temporal correlations. By incorporating these correlations, the model can capture specific behaviors and provide predictions.

Downloads

CRAN

244

Last 30 days

17604th

678

Last 90 days

2.5K

Last year

Trend: +31.9% (30d vs prior 30d)

r2u CRAN

40

Last 30 days

120

Last 90 days

467

Last year

Trend: -20% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 12, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 5, 2026
ERROR r-devel-linux-x86_64-fedora-clang

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘DIFMvignette.Rmd’ using rmarkdown
OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).


Quitting from DIFMvignette.Rmd:176-202 [unnamed-chunk-4]
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    libs   6.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.9Mb
  sub-directories of 1Mb or more:
    libs   6.3Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/DIFM.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    libs   6.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.9Mb
  sub-directories of 1Mb or more:
    libs   6.3Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    libs   6.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.9Mb
  sub-directories of 1Mb or more:
    libs   6.3Mb

Dependency Network

Dependencies Reverse dependencies Rcpp Matrix LaplacesDemon spdep gridExtra sp DIFM

Version History

3 tracked
new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 1.0 diff Nov 10, 2025
new 1.0 Apr 11, 2024