View source: R/905_BTR_CP_fns.R
cp_draw_betas | R Documentation |
Draw betas from their posterior FCs
cp_draw_betas(X, betas, sig_y2, y, gam, eta, W, Phi, tau, j, r)
X |
design array |
betas |
list of matrices |
sig_y2 |
scalar |
y |
vector |
gam |
vector |
eta |
design matrix |
W |
list of matrices |
Phi |
vector or matrix |
tau |
scalar |
j |
(scalar) dimension index |
r |
(scalar) rank index |
vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.