Description Usage Arguments Value Author(s) Examples
Creates a GibbsModel object, given specifications of a Gibbs Random Field model.
1 | GibbsModel(G, cMat, V = NULL, vMat = NULL)
|
G |
An integer greater than 0, the maximum color value |
cMat |
a (C x 2) matrix where each line corresponds to relative position of neighbours. |
V |
a (G+1) vector corresponding to single site potentials (from 0 to G). Must sum 0. Can be NULL if vMat is also NULL. |
vMat |
a (C x 2G+1) matrix specifying potential values for each possible difference (from -G to G) and each type of neighbour. |
A GibbsModel object with the specified values.
Victor Freguglia Souza
1 | GibbsModel(1,example.cMat,example.V,example.vMat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.