Learn R Programming

potts (version 0.5-11)

Markov Chain Monte Carlo for Potts Models

Description

Do Markov chain Monte Carlo (MCMC) simulation of Potts models (Potts, 1952, ), which are the multi-color generalization of Ising models (so, as as special case, also simulates Ising models). Use the Swendsen-Wang algorithm (Swendsen and Wang, 1987, ) so MCMC is fast. Do maximum composite likelihood estimation of parameters (Besag, 1975, , Lindsay, 1988, ).

Copy Link

Version

Install

install.packages('potts')

Monthly Downloads

335

Version

0.5-11

License

GPL (>= 2)

Maintainer

Last Published

August 12th, 2022

Functions in potts (0.5-11)

potts

Potts Models
composite.ll

Composite Log Likelihood for Potts Models
Cache T

Cache calculated Canonical Statistics for Potts Models.
image.raw

Plot Potts Model Data
calc_t

Calculate Canonical Statistic for Potts Model
packPotts

Transform Potts Model Data