Skip to content

simBKMRdata

Helper Functions for Bayesian Kernel Machine Regression

v0.2.1 · May 14, 2025 · GPL (>= 3)

Description

Provides a suite of helper functions to support Bayesian Kernel Machine Regression (BKMR) analyses in environmental health research. It enables the simulation of realistic multivariate exposure data using Multivariate Skewed Gamma distributions, estimation of distributional parameters by subgroup, and application of adaptive, data-driven thresholds for feature selection via Posterior Inclusion Probabilities (PIPs). It is especially suited for handling skewed exposure data and enhancing the interpretability of BKMR results through principled variable selection. The methodology is shown in Hasan et. al. (2025) <doi:10.1101/2025.04.14.25325822>.

Downloads

CRAN

540

Last 30 days

7265th

1.6K

Last 90 days

6.2K

Last year

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

r2u

9

Last 30 days

24

Last 90 days

106

Last year

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

r2u: no daily series yet

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 Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

for unstated dependencies in vignettes

Warning in gzfile(file, mode) :
  cannot open compressed file '/tmp/Rtmp1LvzlW/runri101e866035de10', probable reason 'No space left on device'
Error in gzfile(file, mode) : cannot open the connection
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies MASS simBKMRdata

Version History

3 tracked
new 0.2.1 Mar 10, 2026
updated 0.2.1 ← 0.1.1 diff May 13, 2025
new 0.1.1 Apr 21, 2025