rDPM | R Documentation |
Draw a series of point from the d-dimensional Dirichlet process with normal prior and normal mixture components.
rDPM(n, alpha = 1, d = 1, tau = 10, sigma = 1)
n |
the number of random draws. |
alpha |
the concentration parameter of the process. |
d |
the number of dimensions. |
tau |
the standard deviation of the symmetric normal prior on component means. |
sigma |
the standard deviation of the symmetric normal mixture distribution. Equal for all components. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.