View source: R/GibbsSamplerHMRF.R
Gibbs Sampler for Hidden Markov Random Field model.
1 | GibbsSamplerHMRF(Y, gModel, imu, isigma2, iseg, coeftab, size = 10000)
|
Y |
The observed values (matrix). |
gModel |
a GibbsModel object. |
imu |
a vector indicating initial mean values. |
iseg |
initial segmentation. |
isigma |
a vector indicating initial SD values. |
X |
a matrix with n (number of observations) rows and p (number of fourier basis functions) columns. Use DeisgnMat() with the result of betaPLS() to obtain this matrix. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.