Learn R Programming

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

PottsUtils (version 0.2-2)

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-2

License

GPL-2

Maintainer

Dai Feng

Last Published

April 5th, 2011

Functions in PottsUtils (0.2-2)

Wolff

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

Get Patches of a Graph
rPotts1

Generate One Random Sample from a Potts Model
SW

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

Generate Configurations of a Graph
rMultimon

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

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

Calculate the Normalizing Constant of a Simple Potts Model
getEdges

Get Edges of a Graph
getBlocks

Get Blocks of a Graph
getWeights

Get All Weights of a Graph
getNeighbors

Get Neighbors of All Vertices of a Graph