mvgamma | R Documentation |
The multivariate gamma function is computed by using it's recursive definition or product form. Use apply() on top of the mvgamma function if p is also a vector.
mvgamma(p, x, log = TRUE)
p |
"integer". The dimension of the multivariate gamma function. |
x |
"vector" A vector or sclor can be used. See also gamma() function. |
log |
"logical" If TRUE, logarithm of multivariate gamma function will be returned. |
Same length as "x" has.
Initial: Mon Sep 20 23:54:20 CEST 2010; Current: Tue Jan 15 18:56:48 CET 2013.
TODO: Allow p be a vector of same length of x
Feng Li, Department of Statistics, Stockholm University, Sweden.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.