Skip to content

Bayesian Kernel Machine Regression

2packages dependsuggested by 2
13.3Kdownloads / year
–test coverage
8/13flavors OK

Overview

About

Implementation of a statistical approach for estimating the joint health effects of multiple concurrent exposures, as described in Bobb et al (2015) doi:10.1093/biostatistics/kxu058.

Changes in 0.2.2

Bug fixes

  • Corrected code that produced warning length > 1 in coercion to logical
  • Update functions that use deprecated functions from dplyr package

Minor changes

  • No longer export the following functions:
  • CalcGroupPIPs, CalcWithinGroupPIPs, and CalcPIPs as these should typically be calculated using the function ExtractPIPs
  • ComputePostmeanHnew.approx and ComputePostmeanHnew.exact as these should typically be calculated using the function ComputePostmeanHnew
  • set_verbose_opts as this is only called internally
  • Expanded function documentation by adding example code

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  bkmr/R/SimData.R (.Dim: 1)
'.Dim' should be changed to 'dim'.

CRAN check page ↗

Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.2
READMEYes · 99 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.2Citation fileNo
Help pages
19
Examples that run
100%19 run in a plain check
Exported functions with examples
100%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
5%

Downloads

13.3K
CRAN downloads in the past year
Rank #3,353 · ~37/day · ~1.1K/mo
Daily download trend is not available in this view yet.
1.2K30 days
3.4K90 days
13.3K1 year
Compare downloads with other packages →
Also on894 r2u18 autocran73 c2d4u

Repository

66Stars
25Forks
20Open issues
0Open PRs
3Releases
310Commits
7Commit identities
310 commits · Last activity 2024-11-14 · 0% stars, 30d · Default branch at 0.2.2.9000, ahead of CRAN 0.2.2 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
75%
Median days to close, 50 most recently updated closed issues
274
Median days to close, 50 most recently updated closed PRs
10

Stars over time

2025-10-23 · 612026-08-05 · 66
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/jenfb/bkmr on 2026-10-21.

Docs source (1)

GitHub Pages site last deployed 2018-07-02

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing bkmr adds 33 packages (22 with compiled code, 34 MB of source tarballs). Heaviest: stringi 11 MB, fields 3.9 MB, spam 3.1 MB.

Depends (1)
R >= 3.1.2
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2016)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2022-03-28
  • 0.2.2Latest
    record
    2022-03-28 · current release · diff ↗ ·
    removed 6 exports
    CalcGroupPIPs, CalcPIPs, CalcWithinGroupPIPs, ComputePostmeanHnew.approx, ComputePostmeanHnew.exact, set_verbose_opts
  • archivedRemoved from CRAN
    2022-03-20
    check problems were not corrected in time 'length > 1 in coercion to logical' error in check of 'bkmrhat'
  • 0.2.1
    record
    2022-03-04 · diff ↗ ·
    added 1 export
    PredictorResponseBivarPair
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2.0
    record
    2017-03-24 · diff ↗ ·
    added 3 exports
    ComputePostmeanHnew.approx, ComputePostmeanHnew.exact, SamplePred
  • 0.1.0
    record
    2016-07-01
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-07-01
Total releases
4 / 10 yrs
License
GPL-2 OSI
Minimum R
≥ 3.1.2
Download size
36 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bkmr")
Bobb, J. F. (2022). bkmr: Bayesian Kernel Machine Regression (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.bkmr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for bkmr version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy