bkmr_wrapper: Wrapper function to fit bkmr model in package bkmr.

Description Usage Arguments Value

View source: R/bkmr_wrapper.R

Description

Wrapper function to fit bkmr model in package bkmr.

Usage

1
bkmr_wrapper(niter, nburn, Y, X, W, varsel = FALSE, groups = NULL)

Arguments

niter

number of iterations of sampler

nburn

number of burn-in iterations

Y

n x 1 vector of response data

X

n x p matrix of exposure data

W

n x q matrix of covariate data

varsel

logical; if TRUE variable selection is implemented, default is FALSE

groups

optional vector of length p indicating group membership to conduct hierarchical variable selection

Value

a list with components


lvhoskovec/mmpack documentation built on Aug. 21, 2021, 4:05 p.m.