Skip to content

BayesFM

Bayesian Inference for Factor Modeling

v0.1.7 · Jun 13, 2024 · GPL-3

Description

Collection of procedures to perform Bayesian analysis on a variety of factor models. Currently, it includes: "Bayesian Exploratory Factor Analysis" (befa) from G. Conti, S. Frühwirth-Schnatter, J.J. Heckman, R. Piatek (2014) <doi:10.1016/j.jeconom.2014.06.008>, an approach to dedicated factor analysis with stochastic search on the structure of the factor loading matrix. The number of latent factors, as well as the allocation of the manifest variables to the factors, are not fixed a priori but determined during MCMC sampling.

Downloads

CRAN

3.4K

Last 30 days

2039th

13.9K

Last 90 days

53.9K

Last year

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

r2u CRAN

76

Last 30 days

279

Last 90 days

960

Last year

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

autoCRAN

9

Last 7 days

26

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

6,172

Files

58

Compiled share

43.2%

Has compiled src

Yes

Language breakdown

R 2,420 (39.2%)C/C++/src 2,669 (43.2%)Docs 1,083 (17.5%)

API

Exported functions

6

Internal functions

24

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

60%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.0.0

System requirements

1

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2016-11-03

Latest release

2024-06-13

Avg cadence

319 days

Cold removal rate

100%

Dep drift

3

LOC over versions

v0.0.2: 4,543 LOCv0.1.0: 5,123 LOCv0.1.1: 6,024 LOCv0.1.2: 6,117 LOCv0.1.3: 6,133 LOCv0.1.4: 6,132 LOCv0.1.5: 6,139 LOCv0.1.7: 6,172 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies checkmate coda ggplot2 gridExtra plyr parameters BayesFM

Version History

9 tracked
new 0.1.7 Mar 10, 2026
updated 0.1.7 ← 0.1.5 diff Jun 12, 2024
updated 0.1.5 ← 0.1.4 diff Nov 18, 2021
updated 0.1.4 ← 0.1.3 diff Oct 19, 2020
updated 0.1.3 ← 0.1.2 diff Dec 4, 2019
updated 0.1.2 ← 0.1.1 diff Feb 19, 2017
updated 0.1.1 ← 0.1.0 diff Feb 5, 2017
updated 0.1.0 ← 0.0.2 diff Dec 18, 2016
new 0.0.2 Nov 2, 2016