{
  "_id": "6ad299a72c5c76d3dd0c9218",
  "Package": "mrf2d",
  "Type": "Package",
  "Title": "Markov Random Field Models for Image Analysis",
  "Version": "1.0.3",
  "Authors@R": "person(\"Victor\", \"Freguglia\", email = \"victorfreguglia@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6189-4453\"))",
  "Maintainer": "Victor Freguglia <victorfreguglia@gmail.com>",
  "Description": "Model fitting, sampling and visualization for the (Hidden)\nMarkov Random Field model with pairwise interactions and\ngeneral interaction structure from Freguglia, Garcia & Bicas\n(2020) <doi:10.1002/env.2613>, which has many popular models\nused in 2-dimensional lattices as particular cases, like the\nIsing Model and Potts Model. A complete manuscript describing\nthe package is available in Freguglia & Garcia (2022)\n<doi:10.18637/jss.v101.i08>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RdMacros": "Rdpack",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/Freguglia/mrf2d",
  "BugReports": "https://github.com/Freguglia/mrf2d/issues",
  "Config/roxygen2/version": "8.1.1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-16 21:31:51 UTC",
    "User": "root"
  },
  "Author": "Victor Freguglia [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6189-4453>)",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-16 19:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/mrf2d",
  "RemoteRef": "HEAD",
  "RemoteSha": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
  "_user": "cran",
  "_type": "src",
  "_file": "mrf2d_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/3ccc8f1dca1ab77aa7b18fb40f405099216135e648c7b26f6a342abffa5db046",
  "_filesize": 1402687,
  "_sha256": "3ccc8f1dca1ab77aa7b18fb40f405099216135e648c7b26f6a342abffa5db046",
  "_expires": "2027-01-24T21:39:48.000Z",
  "_created": "2026-10-16T21:31:51.000Z",
  "_published": "2026-10-16T21:39:51.186Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117206057252,
      "time": 144,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12076154483"
    },
    {
      "job": 117206057229,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12076004888"
    },
    {
      "job": 117206057348,
      "time": 146,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12076481729"
    },
    {
      "job": 117206057293,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12077340134"
    },
    {
      "job": 117204317903,
      "time": 278,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12075424393"
    },
    {
      "job": 117206057309,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12075394814"
    },
    {
      "job": 117206057384,
      "time": 243,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12076486845"
    },
    {
      "job": 117206057257,
      "time": 209,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12076676342"
    },
    {
      "job": 117206057484,
      "time": 405,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12076263437"
    },
    {
      "job": 117206057299,
      "time": 171,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12076367483"
    }
  ],
  "_upstream": "https://github.com/cran/mrf2d",
  "_commit": {
    "id": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
    "author": "Victor Freguglia <victorfreguglia@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.3\n",
    "time": 1792177802
  },
  "_maintainer": {
    "name": "Victor Freguglia",
    "email": "victorfreguglia@gmail.com",
    "login": "freguglia",
    "linkedin": "in/victor-freguglia-aa0335160",
    "description": "Assistant Professor - Department of Statistics - University of Campinas.",
    "uuid": 26393042,
    "orcid": "0000-0002-6189-4453"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8.1",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.3",
      "date": "2026-10-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "freguglia",
      "count": 8,
      "uuid": 26393042
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 632,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 306,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mrf2d"
  },
  "_devurl": "https://github.com/freguglia/mrf2d",
  "_searchresults": 16,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mrf2d.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/freguglia/mrf2d",
  "_realowner": "freguglia",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-02-21"
    },
    {
      "version": "0.2.0",
      "date": "2020-02-21"
    },
    {
      "version": "0.3",
      "date": "2020-06-03"
    },
    {
      "version": "0.4.0",
      "date": "2020-06-30"
    },
    {
      "version": "0.4.1",
      "date": "2020-10-20"
    },
    {
      "version": "0.5",
      "date": "2020-10-29"
    },
    {
      "version": "1.0",
      "date": "2022-01-26"
    },
    {
      "version": "1.0.3",
      "date": "2026-10-16"
    }
  ],
  "_exports": [
    "cohist",
    "cp_mrf2d",
    "cplot",
    "dplot",
    "expand_array",
    "fit_ghm",
    "fit_pl",
    "fit_sa",
    "fourier_2d",
    "mrfi",
    "mrfi_to_string",
    "pl_mrf2d",
    "polynomial_2d",
    "rmrf2d",
    "rmrf2d_mc",
    "rpositions",
    "smr_array",
    "smr_stat",
    "vec_description"
  ],
  "_datasets": [
    {
      "name": "bold5000",
      "title": "BOLD5000 neuroimaging data",
      "object": "bold5000",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 176,
      "table": true,
      "tojson": true
    },
    {
      "name": "field1",
      "title": "Example Data",
      "object": "field1",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 150,
      "table": true,
      "tojson": true
    },
    {
      "name": "hfield1",
      "title": "Example Data",
      "object": "hfield1",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 150,
      "table": true,
      "tojson": true
    },
    {
      "name": "theta_potts",
      "title": "Example objects from 'mrf2d'",
      "object": "theta_potts",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "Z_potts",
      "title": "Example objects from 'mrf2d'",
      "object": "Z_potts",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 150,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "basis_functions",
      "title": "Creation of basis functions",
      "topics": [
        "basis_functions",
        "fourier_2d",
        "polynomial_2d"
      ]
    },
    {
      "page": "bold5000",
      "title": "BOLD5000 neuroimaging data",
      "topics": [
        "bold5000"
      ]
    },
    {
      "page": "cpmrf2d",
      "title": "Conditional probabilities in a pixel position",
      "topics": [
        "cpmrf2d",
        "cp_mrf2d"
      ]
    },
    {
      "page": "data_examples",
      "title": "Example Data",
      "topics": [
        "data_examples",
        "field1",
        "hfield1"
      ]
    },
    {
      "page": "dplot",
      "title": "Plotting functions for lattice data",
      "topics": [
        "cplot",
        "dplot"
      ]
    },
    {
      "page": "fit_ghm",
      "title": "EM estimation for Gaussian Hidden Markov field",
      "topics": [
        "fit_ghm"
      ]
    },
    {
      "page": "fit_pl",
      "title": "Maximum Pseudo-likelihood fitting of MRFs on 2d lattices.",
      "topics": [
        "fit_pl"
      ]
    },
    {
      "page": "fit_sa",
      "title": "Stochastic Approximation fitting of MRFs on 2d lattices",
      "topics": [
        "fit_sa"
      ]
    },
    {
      "page": "hmrfout",
      "title": "MRF fitting functions output",
      "topics": [
        "hmrfout",
        "plot.hmrfout",
        "print.hmrfout",
        "summary.hmrfout"
      ]
    },
    {
      "page": "mrf2d-family",
      "title": "Parameter restriction families",
      "topics": [
        "mrf2d-family"
      ]
    },
    {
      "page": "mrfi-class",
      "title": "mrfi: MRF interaction structure",
      "topics": [
        "+,mrfi,mrfi-method",
        "+,mrfi,numeric-method",
        "-,mrfi,mrfi-method",
        "-,mrfi,numeric-method",
        "as.list.mrfi",
        "length,mrfi-method",
        "mrfi",
        "mrfi-class",
        "mrfi_to_string",
        "rpositions",
        "[,mrfi,numeric,missing-method",
        "[[,mrfi,numeric,missing-method"
      ]
    },
    {
      "page": "mrfout",
      "title": "MRF fitting functions output",
      "topics": [
        "mrfout",
        "plot.mrfout",
        "print.mrfout",
        "summary.mrfout"
      ]
    },
    {
      "page": "pl_mrf2d",
      "title": "Pseudo-likelihood function for MRFs on 2d lattices",
      "topics": [
        "pl_mrf2d"
      ]
    },
    {
      "page": "plot.mrfi",
      "title": "Plotting of 'mrfi' objects.",
      "topics": [
        "mrfi-plot",
        "plot.mrfi"
      ]
    },
    {
      "page": "rmrf2d",
      "title": "Sampling of Markov Random Fields on 2d lattices",
      "topics": [
        "rmrf2d"
      ]
    },
    {
      "page": "rmrf2d_mc",
      "title": "Markov Chain sampling of MRFs for Monte-Carlo methods",
      "topics": [
        "rmrf2d_mc"
      ]
    },
    {
      "page": "smr_array",
      "title": "Summarized representation of theta arrays",
      "topics": [
        "expand_array",
        "smr_array"
      ]
    },
    {
      "page": "smr_stat",
      "title": "Summary Statistics",
      "topics": [
        "cohist",
        "smr_stat",
        "vec_description"
      ]
    },
    {
      "page": "Z_potts",
      "title": "Example objects from 'mrf2d'",
      "topics": [
        "theta_potts",
        "Z_potts"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/mrf2d/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/mrf2d/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "Rdpack",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "mrf2d-family.Rmd",
      "filename": "mrf2d-family.html",
      "title": "Parameter restriction families in mrf2d",
      "engine": "knitr::rmarkdown",
      "headings": [
        "'onepar'",
        "Example",
        "'oneeach'",
        "'absdif'",
        "'dif'",
        "'free'"
      ],
      "created": "2020-06-02 22:10:02",
      "modified": "2026-10-16 19:10:02",
      "commits": 3
    },
    {
      "source": "three-dimensions-on-mrf2d.Rmd",
      "filename": "three-dimensions-on-mrf2d.html",
      "title": "Working with 3d lattices in mrf2d",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Reshaping 3-dimensional problems to mrf2d",
        "Reshaping random fields",
        "Reshaping interactions (mrfi objects)",
        "mrf2d methods with reshaped data",
        "Random sampling",
        "Parameter estimation",
        "Hidden MRFs",
        "Caveats of 2d projections"
      ],
      "created": "2020-10-29 18:00:03",
      "modified": "2026-10-16 19:10:02",
      "commits": 2
    }
  ],
  "_score": 3.204119982655925,
  "_indexed": false,
  "_nocasepkg": "mrf2d",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://freguglia.r-universe.dev/mrf2d",
  "_previous": "1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-16T21:34:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/81ca02982a7aea43ed40ddf6c690fa244ee30e8fc43416904d6912edf926ce45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-16T21:34:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/f16aa3a83443545381243067d4d70f7504623f9d52b53093fca6363dd48c96df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-16T21:34:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/a7bc9427aa254c9b38dda992d6ac23e78a8637ab260528b4bef5eb021b4e045f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-16T21:34:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/71caf79dd8292308617cd19cd6bab57b20a1214732fdc896dd35dd81bbcb4d01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-10-16T21:34:20.000Z",
      "arch": "emscripten",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/810f65cc0b3d303c062587a2fceba6a0d2035a82b8f4bec2d0df2503328c2bb5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-16T21:35:16.000Z",
      "arch": "aarch64",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/b861522cd66faa290f93df35f3c3234fc9cd60b9fe6a2d23b0a992b7f2250f1f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-16T21:33:47.000Z",
      "arch": "x86_64",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/0aca3f23b0ebea9606dec236d1edc6023d874f9bcd64a946d11ea59369d69ba4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-16T21:38:02.000Z",
      "arch": "aarch64",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/85ada09d24482d7daff4a7a66eca71da91077e1f2ae2c0518d8218df445bdc4b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-16T21:33:38.000Z",
      "arch": "x86_64",
      "commit": "cc3a50d2d2ca0885a498d513a49e0c8b6b0bcd23",
      "fileid": "https://r2.ropensci.org/0ec639da6a514c3e60fa2b9bfff54e4acd9f6227c54cccbbf3cfd759a8216399",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38969523955"
    }
  ]
}