{
  "_id": "6ad0870de2d863f662955774",
  "Package": "copre",
  "Type": "Package",
  "Title": "Tools for Nonparametric Martingale Posterior Sampling",
  "Version": "0.2.2",
  "Authors@R": "c(\nperson(\"Blake\", \"Moya\", email = \"blakemoya@utexas.edu\",\nrole = c(\"cre\", \"aut\")),\nperson(\"The University of Texas at Austin\", role = c(\"cph\", \"fnd\")))",
  "Description": "Performs Bayesian nonparametric density estimation using\nMartingale posterior distributions including the Copula\nResampling (CopRe) algorithm. Also included are a Gibbs sampler\nfor the marginal Gibbs-type mixture model and an extension to\ninclude full uncertainty quantification via a predictive\nsequence resampling (SeqRe) algorithm. The CopRe and SeqRe\nsamplers generate random nonparametric distributions as output,\nleading to complete nonparametric inference on posterior\nsummaries. Routines for calculating arbitrary functionals from\nthe sampled distributions are included as well as an important\nalgorithm for finding the number and location of modes, which\ncan then be used to estimate the clusters in the data using,\nfor example, k-means. Implements work developed in Moya B.,\nWalker S. G. (2022). <doi:10.48550/arxiv.2206.08418>, Fong, E.,\nHolmes, C., Walker, S. G. (2021)\n<doi:10.48550/arxiv.2103.15671>, and Escobar M. D., West, M.\n(1995) <doi:10.1080/01621459.1995.10476550>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://blakemoya.r-universe.dev",
  "Date/Publication": "2025-10-20 17:02:59 UTC",
  "RemoteUrl": "https://github.com/blakemoya/copre",
  "RemoteRef": "HEAD",
  "RemoteSha": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-15 07:10:58 UTC",
    "User": "root"
  },
  "Author": "Blake Moya [cre, aut],\nThe University of Texas at Austin [cph, fnd]",
  "Maintainer": "Blake Moya <blakemoya@utexas.edu>",
  "_user": "blakemoya",
  "_type": "src",
  "_file": "copre_0.2.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/1417ac9a530162b72499cb2e3c78b6c96014425a4ce259ea1b403bd05d15af78",
  "_filesize": 2600209,
  "_sha256": "1417ac9a530162b72499cb2e3c78b6c96014425a4ce259ea1b403bd05d15af78",
  "_expires": "2027-01-23T07:55:47.000Z",
  "_created": "2026-10-15T07:10:58.000Z",
  "_published": "2026-10-15T07:55:57.133Z",
  "_buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116296166198,
      "time": 146,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11955281434"
    },
    {
      "job": 116296166332,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11954821903"
    },
    {
      "job": 116296166274,
      "time": 121,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954716986"
    },
    {
      "job": 116296166350,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11955246395"
    },
    {
      "job": 116296166244,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11956537295"
    },
    {
      "job": 116296166326,
      "time": 520,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11955974553"
    },
    {
      "job": 116296166206,
      "time": 176,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11955744266"
    },
    {
      "job": 116296166263,
      "time": 351,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11955779326"
    },
    {
      "job": 116294841168,
      "time": 223,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954816346"
    },
    {
      "job": 116296166237,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11955306281"
    },
    {
      "job": 116296166245,
      "time": 424,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11954567149"
    },
    {
      "job": 116296166205,
      "time": 181,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11955291537"
    },
    {
      "job": 116296166227,
      "time": 149,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11955281438"
    },
    {
      "job": 116296166363,
      "time": 371,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954616961"
    },
    {
      "job": 116296166373,
      "time": 125,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954991629"
    }
  ],
  "_upstream": "https://github.com/blakemoya/copre",
  "_commit": {
    "id": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
    "author": "blakemoya <blakeemoya@gmail.com>",
    "committer": "blakemoya <blakemoya@utexas.edu>",
    "message": "Copre 0.2.2\n",
    "time": 1760979779
  },
  "_maintainer": {
    "name": "Blake Moya",
    "email": "blakemoya@utexas.edu",
    "login": "blakemoya",
    "twitter": "@BlakeEMoya",
    "description": "Ph.D. of Statistics from UT Austin.\nMS Applied Cognition and Neuroscience UT Dallas.\nBS Cognitive Science UT Dallas",
    "uuid": 44984654
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "dirichletprocess",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "blakemoya",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian",
    "dirichlet-process",
    "nonparametric",
    "cpp",
    "openmp"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "blakemoya",
      "count": 6,
      "uuid": 44984654
    }
  ],
  "_userbio": {
    "uuid": 44984654,
    "type": "user",
    "name": "Blake Moya",
    "followers": 10,
    "description": "Ph.D. of Statistics from UT Austin.\r\nMS Applied Cognition and Neuroscience UT Dallas.\r\nBS Cognitive Science UT Dallas"
  },
  "_downloads": {
    "count": 399,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/copre"
  },
  "_devurl": "https://github.com/blakemoya/copre",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/copre.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/blakemoya/copre",
  "_realowner": "blakemoya",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-08-16"
    },
    {
      "version": "0.2.0",
      "date": "2023-01-31"
    },
    {
      "version": "0.2.1",
      "date": "2024-05-21"
    },
    {
      "version": "0.2.2",
      "date": "2025-10-21"
    }
  ],
  "_exports": [
    "antimodes",
    "copre",
    "functional",
    "G_normls",
    "gibbsmix",
    "grideval",
    "modes",
    "moment",
    "n_modes",
    "seqre",
    "Sq_dirichlet",
    "Sq_gnedin0",
    "Sq_pitmanyor"
  ],
  "_help": [
    {
      "page": "copre-package",
      "title": "CopRe Tools for Nonparametric Martingale Posterior Sampling",
      "topics": [
        "copre-package"
      ]
    },
    {
      "page": "seqre",
      "title": "Sequence Resampling",
      "topics": [
        "seqre",
        "[[.seqreresult"
      ]
    },
    {
      "page": "grideval",
      "title": "Grid evaluation of 'copre_result' and 'seqre_result' objects",
      "topics": [
        "$.grideval_result",
        "grideval",
        "grideval.copre_result",
        "grideval.seqre_result",
        "[[.grideval_result"
      ]
    },
    {
      "page": "antimodes",
      "title": "Antimode Extractor",
      "topics": [
        "antimodes"
      ]
    },
    {
      "page": "autoplot.copre_result",
      "title": "Create a CopRe Result ggplot",
      "topics": [
        "autoplot.copre_result"
      ]
    },
    {
      "page": "autoplot.grideval_result",
      "title": "Create a ggplot of a 'grideval_result' Object",
      "topics": [
        "autoplot.grideval_result"
      ]
    },
    {
      "page": "autoplot.seqre_result",
      "title": "Create a SeqRe Result ggplot",
      "topics": [
        "autoplot.seqre_result"
      ]
    },
    {
      "page": "base_measure",
      "title": "Base Measure for Mixture Models",
      "topics": [
        "base_measure"
      ]
    },
    {
      "page": "copre",
      "title": "Copula Resampling",
      "topics": [
        "copre"
      ]
    },
    {
      "page": "functional",
      "title": "Obtain Functionals from a CopRe Result",
      "topics": [
        "functional"
      ]
    },
    {
      "page": "G_normls",
      "title": "Normal-Inverse-Gamma Base Measure for Location-Scale Normal Mixture Models.",
      "topics": [
        "G_normls"
      ]
    },
    {
      "page": "gibbsmix",
      "title": "Marginal Gibbs-type Mixture Model Sampler",
      "topics": [
        "gibbsmix"
      ]
    },
    {
      "page": "length.grideval_result",
      "title": "Length",
      "topics": [
        "length.grideval_result"
      ]
    },
    {
      "page": "modes",
      "title": "Mode Extractor",
      "topics": [
        "modes",
        "modes.grideval_result",
        "modes.seqre_result",
        "n_modes"
      ]
    },
    {
      "page": "moment",
      "title": "Obtain Moments from a CopRe or SeqRe Result",
      "topics": [
        "moment",
        "moment.grideval_result",
        "moment.seqre_result"
      ]
    },
    {
      "page": "plot.copre_result",
      "title": "Create a CopRe Result Plot",
      "topics": [
        "plot.copre_result"
      ]
    },
    {
      "page": "plot.grideval_result",
      "title": "Create a Plot of a 'grideval_result' Object",
      "topics": [
        "plot.grideval_result"
      ]
    },
    {
      "page": "plot.seqre_result",
      "title": "Create a SeqRe Result Plot",
      "topics": [
        "plot.seqre_result"
      ]
    },
    {
      "page": "register_autoplot_s3_methods",
      "title": "Register 'autoplot' methods to 'ggplot2'",
      "topics": [
        "register_autoplot_s3_methods"
      ]
    },
    {
      "page": "register_s3_method",
      "title": "Register S3 Methods from External Packages",
      "topics": [
        "register_s3_method"
      ]
    },
    {
      "page": "seq_measure",
      "title": "Sequence Measure for Species Sampling Models",
      "topics": [
        "seq_measure"
      ]
    },
    {
      "page": "Sq_dirichlet",
      "title": "Dirichlet Sequence Measure.",
      "topics": [
        "Sq_dirichlet"
      ]
    },
    {
      "page": "Sq_gnedin0",
      "title": "Collapsed Gnedin Process Sequence Measure.",
      "topics": [
        "Sq_gnedin0"
      ]
    },
    {
      "page": "Sq_pitmanyor",
      "title": "Pitman-Yor Sequence Measure.",
      "topics": [
        "Sq_pitmanyor"
      ]
    }
  ],
  "_readme": "https://github.com/blakemoya/copre/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "BH",
    "cli",
    "cpp11",
    "dirichletprocess",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "gtools",
    "isoband",
    "labeling",
    "lifecycle",
    "mvtnorm",
    "pracma",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "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"
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "copre",
  "_universes": [
    "blakemoya"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-10-15T07:13:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/c6c5c1d6a8364f88970699814a38bf1456ed5f94d5d9e21b4fb034ab57b702e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-10-15T07:13:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/3877485e69f4b0a64500118e5feef9b226d11d4d3d34a5bc18d668454fcec030",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-10-15T07:12:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/9f4bd064e7302c7c05e6d996182ca9b68bd1267bd4c2bb17498c8cf6d70aba8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-10-15T07:13:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/aacb7f2bfbd4d2191910609093e5a7d7af53e36d428ba787d79fdced4e17ece2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-10-15T07:50:21.000Z",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/4247b37a6d2cd6386557c052833a661642b71c5e762c32dd6ffdbf04657d248f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-10-15T07:52:17.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/8c39bfeff5c5f72c212b45c2fe79cba50768fe3de4974d9bc5c87aea41ee6b79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-10-15T07:50:43.000Z",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/a67e30f29c2203e8f7d9c647f8bed816e5b67fe72b795dacfa430e1914662257",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-10-15T07:50:10.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/b3b8222d38cfb30efa047b70d07e69fe9573c908ee26b521f55ec3f575956f6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-10-15T07:13:21.000Z",
      "arch": "emscripten",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/1c4f6afdfd4187be6c4f2b7fc3c6a5230df247f7042795eb92e892ef1b1b843e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-15T07:17:13.000Z",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/065f261ec86655a889644834cb047c5a49dca4e2d6b686d7d37d8019eab98a29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-15T07:12:41.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/623fbd5a57015f59c8efba8d0ea076b505266d8c3a37c5cd8c44071e21e41652",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-15T07:12:44.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/9b641d85430cda974bdf8b4ed917fb13dc5cb7563e9533923dd7afaa5bf09fb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-15T07:16:12.000Z",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/37523bd2f5d0e3c78fba7af6ac20ce52714cc10ced0fe8b15e27e18c9f9eb110",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-15T07:12:46.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "https://r2.ropensci.org/5936cfc9c8354c49bab68961bdfe4fd7fe24c51dba564bdcba3c45b893074ebc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/38696650855"
    }
  ]
}