Learn R Programming

⚠️There's a newer version (0.3-3) of this package.Take me there.

PottsUtils (version 0.2-1)

Utility Functions of the Potts Models

Description

A package including several functions related to the Potts models.

Copy Link

Version

Install

install.packages('PottsUtils')

Monthly Downloads

711

Version

0.2-1

License

GPL-2

Maintainer

Dai Feng

Last Published

April 1st, 2011

Functions in PottsUtils (0.2-1)

SW

Generate Random Samples from a Compound Potts Model by the Swendsen-Wang Algorithm
rMultimon

Generate Random Samples from Different Multinomial Distributions with the Same Number of Classes
getEdges

Get Edges of a Graph
getBlocks

Get Blocks of a Graph
getPatches

Get Patches of a Graph
rPotts1

Generate One Random Sample from a Potts Model
BlocksGibbs

Generate Random Samples from a Potts Model Using the Checkerboard Idea
getNC

Calculate the Normalizing Constant of a Simple Potts Model
Wolff

Generate Random Samples from a Compound Potts Model by the Wolff Algorithm
getNeighbors

Get Neighbors of All Vertices of a Graph
getConfs

Generate Configurations of a Graph
getWeights

Get All Weights of a Graph