dnLKJ
- LKJ Distribution
eta : | RealPos (pass by const reference) |
The parameter. | |
dim : | Natural (pass by value) |
The dimensions of the correlation matrix. |
# we simulate a correlation matrix.
R <- rLKJ(n=1, eta=1, dim=5)
# let's print the simulated correlation matrix
R