Z_potts
and theta_potts
are example objects for mrf2d
.
Z_potts
is a matrix
object containing an observed lattice of a 3 color
(C = 2) Potts model.
theta_potts
is the parameter array used to sample it,
it consists of a configuration with one parameter (-1.0) and two relative
positions (to be used with a nearest-neighbor structure).
theta_potts
#> , , 1
#>
#> 0 1 2
#> 0 0 -1 -1
#> 1 -1 0 -1
#> 2 -1 -1 0
#>
#> , , 2
#>
#> 0 1 2
#> 0 0 -1 -1
#> 1 -1 0 -1
#> 2 -1 -1 0
#>
dplot(Z_potts)