Learn R Programming

mpower (version 0.1.0)

bkmr_wrapper: Fits a BKMR model with significance criteria: PIP and group-wise PIP

Description

Fits a BKMR model with significance criteria: PIP and group-wise PIP

Usage

bkmr_wrapper(y, x, args = list())

Value

A list of vectors whose values are between 0 and 1

pip

PIP for component-wise selection or conditional (with-in group) PIP for hierarchical variable selection.

group_pip

PIP for group-specific selection.

time

elapsed time to fit the model.

Arguments

y

A vector of outcome

x

A matrix of predictors

args

A list of arguments, see R function `bkmr::kmbayes()`

Reference

Bobb JF, Henn BC, Valeri L, Coull BA (2018). “Statistical software for analyzing the health effects of multiple concurrent exposures via Bayesian kernel machine regression.”Environ-mental Health,17(67).doi:10.1186/s12940-018-0413-y.