Package: PottsUtils 0.3-3.1

Dai Feng

PottsUtils: Utility Functions of the Potts Models

There are three sets of functions. The first produces basic properties of a graph and generates samples from multinomial distributions to facilitate the simulation functions (they maybe used for other purposes as well). The second provides various simulation functions for a Potts model in Potts, R. B. (1952) <doi:10.1017/S0305004100027419>. The third currently includes only one function which computes the normalizing constant of a Potts model based on simulation results.

Authors:Dai Feng [aut, cre], Luke Tierney [ctb]

PottsUtils_0.3-3.1.tar.gz
PottsUtils_0.3-3.1.tar.gz(r-4.5-noble)PottsUtils_0.3-3.1.tar.gz(r-4.4-noble)
PottsUtils_0.3-3.1.tgz(r-4.4-emscripten)PottsUtils_0.3-3.1.tgz(r-4.3-emscripten)
PottsUtils.pdf |PottsUtils.html
PottsUtils/json (API)

# Install 'PottsUtils' in R:
install.packages('PottsUtils', repos = 'https://cloud.r-project.org')
Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda-Forge:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

jagscpp

2.11 score 13 scripts 716 downloads 11 exports 25 dependencies

Last updated 4 months agofrom:71cee0b322. Checks:2 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKFeb 24 2025
R-4.5-linux-x86_64OKFeb 24 2025

Exports:BlocksGibbsgetBlocksgetConfsgetEdgesgetNCgetNeighborsgetPatchesgetWeightsrPotts1SWWolff

Dependencies:abindbootclicodagluelatticelifecyclemagrittrMASSMatrixMatrixModelsmcmcMCMCpackmiscFmvtnormquantregR2jagsR2WinBUGSrjagsrlangSparseMstringistringrsurvivalvctrs

Using the PottsUtils Package

Rendered fromIntro.Rnwusingutils::Sweaveon Feb 24 2025.

Last update: 2014-02-24
Started: 2014-02-24

Citation

To cite package ‘PottsUtils’ in publications use:

Feng D (2024). PottsUtils: Utility Functions of the Potts Models. R package version 0.3-3.1, https://CRAN.R-project.org/package=PottsUtils.

Corresponding BibTeX entry:

  @Manual{,
    title = {PottsUtils: Utility Functions of the Potts Models},
    author = {Dai Feng},
    year = {2024},
    note = {R package version 0.3-3.1},
    url = {https://CRAN.R-project.org/package=PottsUtils},
  }