drawz: drawz

Description Usage Arguments

View source: R/drawz.R

Description

Draw a component of z, the vector determining which variables are included in the model.

Usage

1
drawz(z, j, b, y, X, index, marg.lik.c)

Arguments

z:

Matrix, current variable selection matrix

j:

Integer, class flag

b:

Integer, element of z[j,] to draw

y:

Vector, outcomes

X:

Matrix, design matrix

index:

Vector: List of class assignments

marg.lik.c:

Float: Current marginal likelihood


jtm508/bayestraj documentation built on May 5, 2020, 12:48 p.m.