Description Usage Arguments Value Author(s) References Examples
C interface to perform a Gibbs update of y
with invariant
distribution proportional to exp( sum(l*y^2)
with respect to the
uniform measure on the sphere.
1 | ry_bing(y, l)
|
y |
a normal vector. |
l |
a vector. |
a normal vector.
Peter Hoff
Hoff(2009)
1 2 3 4 5 | ## The function is currently defined as
function (y, l)
{
.C("ry_bing", y = as.double(y), l = as.double(l), n = as.integer(length(y)))$y
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.