Description Usage Arguments Value
For each shape and rate parameter pair the log gamma density is computed.
Inside the function the unsafe access functions of Armadillo at()
and
unsafe_col()
are used, so now boundary check is performed. In each step
the lngamma()
function from Rcpp's R
namespace is used. At this time
unused.
1 | ldgamma_cc(values, shape, rate)
|
values |
A matrix of dimension |
shape |
A vector of dimension |
rate |
A vector of dimension |
A matrix of Gamma log-density values for each pair of parameters in a column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.