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