rlkjcorr {trialr} | R Documentation |
Sample LKJ correlation matrices.
Description
This function was copied from Richard McElreath's rethinking package hosted at https://github.com/rmcelreath/rethinking. In turn, he appears to have copied it from Ben Bolker's rLKJ function from the emdbook package, although I cannot find it there (else I would have imported it).
Usage
rlkjcorr(n, K, eta = 1)
Arguments
n |
Number of matrices to sample. |
K |
dimenstion of matrix to sample. |
eta |
Distribution parameter |
Value
matrix
[Package trialr version 0.1.6 Index]