Description Usage Arguments Value Note Author(s) References Examples
View source: R/rbmf.vector.gibbs.R
Simulate a random normal vector from the Bingham-von Mises-Fisher distribution using Gibbs sampling.
1 | rbmf.vector.gibbs(A, c, x)
|
A |
a symmetric matrix. |
c |
a vector with the same length as |
x |
the current value of the random normal vector. |
a new value of the vector x
obtained by Gibbs sampling.
This provides one Gibbs scan. The function should be used iteratively.
Peter Hoff
Hoff(2009)
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.