Description Usage Arguments Value
Sampling step for gamma_k (factor precisions)
1 | sample_gamma_k(zeros, lambda, c = 0, d = 100)
|
zeros |
A binary, sparsity inducing matrix of dimenion P x K. |
lambda |
A standard multivariate normal matrix of factor loadings of dimension P x K. |
c |
A tunable hyperparameter for the shape parameter of the gamma draw. Default is 0. |
d |
A tunable hyperparameter for the inverse-scale (rate) parameter of the gamma draw. Default is 100 |
gamma_k Numeric vector of factor precisions of length K.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.