dLKJ: The LKJ density for a correlation matrix
Description
The LKJ density for a correlation matrix
Usage
dLKJ(R, eta, log = FALSE)
Value
numeric as the (log) density
Arguments
- R
correlation matrix
- eta
numeric, the prior parameter
- log
logical indicating if the log of the density
is to be returned, default = FALSE