Description Usage Arguments Value Examples
Method to initialize EM parameters. Purely standard normal noise.
1 | init.random(x, K, noise = 1)
|
x |
An n-by-p design matrix. |
K |
Number of EM classes to be fit. |
noise |
Standard deviation of the white noise to be applied when generating random initial states. |
A K-length list, each holding parameters.
1 2 3 | x <- model.matrix(~ 1 + factor(wool) + factor(tension), data = warpbreaks)
init.random(x = x, K = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.