{
  "_id": "6a1f01bdb401979e7341b0e1",
  "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-05-18 08:33:48 UTC",
    "User": "root"
  },
  "Author": "Blake Moya [cre, aut],\nThe University of Texas at Austin [cph, fnd]",
  "Maintainer": "Blake Moya <blakemoya@utexas.edu>",
  "MD5sum": "f8576ab6ff3004655a648e5f8daa5c75",
  "_user": "blakemoya",
  "_type": "src",
  "_file": "copre_0.2.2.tar.gz",
  "_fileid": "403cc1d008acfd609098bf4320fc456b2aeb9e98a5bfa52922b3557dbb3d2758",
  "_filesize": 2600930,
  "_sha256": "403cc1d008acfd609098bf4320fc456b2aeb9e98a5bfa52922b3557dbb3d2758",
  "_created": "2026-05-18T08:33:48.000Z",
  "_published": "2026-06-02T16:15:57.171Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79117997669,
      "time": 152,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053101171"
    },
    {
      "job": 79117997741,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053102400"
    },
    {
      "job": 79117998039,
      "time": 162,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053104189"
    },
    {
      "job": 79117997902,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053102524"
    },
    {
      "job": 79117998106,
      "time": 194,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053103248"
    },
    {
      "job": 79117998198,
      "time": 375,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053162706"
    },
    {
      "job": 79117997648,
      "time": 185,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053100949"
    },
    {
      "job": 79117997641,
      "time": 293,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053135993"
    },
    {
      "job": 79117997073,
      "time": 184,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053049000"
    },
    {
      "job": 79117997029,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363452819"
    },
    {
      "job": 79117997732,
      "time": 158,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053103091"
    },
    {
      "job": 79117998210,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053097925"
    },
    {
      "job": 79117998271,
      "time": 140,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053097410"
    }
  ],
  "_buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Ph.D. of Statistics from UT Austin.\r\nMS Applied Cognition and Neuroscience UT Dallas.\r\nBS Cognitive Science UT Dallas"
  },
  "_downloads": {
    "count": 225,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/copre"
  },
  "_devurl": "https://github.com/blakemoya/copre",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/copre.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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-05-18T08:36:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "0da49c61cfec447f79b939bec394f5b03cdc6c61c593b1e409e720a594c6ec17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-18T08:36:25.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "685447c27876ec6c4c7204c3a70f8e4b8c9f916ecbf93736496fa8a3ba5be2b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-18T08:36:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "2f176dabe416ee45e4ab0026c7d7143fef2a3165e15b29df561f93206f88d164",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-18T08:36:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "226cfd47ec0667c364c9225043d1d7a05fa12c2162cbed590b5b9918f133bf49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-18T08:36:31.000Z",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "e62399b21d202ed149773a2f31d83a49d8ef884289c8e30f6ce1d21be1e59626",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-18T08:38:41.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "2c21887d5fd079dc861d64afa90fd574db610f9b415aa8fae45c9642205db463",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-18T08:36:22.000Z",
      "arch": "aarch64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "8302995042293d2542e9b5049a1b8812770e2557bfb58c4ace9447b06beebcf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-18T08:37:36.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "219f5c7efc6b98e02070aabcc30ef395caf42338f00c98ad7dbffd0dc8f969ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-18T08:35:40.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "d1480ee2eaaaa8a1fd11d2412b843f61b6ad4ccc4230a969ba1fcbf9841cc687",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-18T08:35:38.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "887e46598d9b1740947832bf997dfe0fb6d2b5de74cc807060dfa112bb4b6384",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-18T08:35:36.000Z",
      "arch": "x86_64",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "bbe46755f8baf55ee3ae90eed425dcf32706f1a985cb1a8073a9a2beec544eba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-06-02T16:15:03.000Z",
      "arch": "emscripten",
      "commit": "ba8a2e2eea450d37c6dc3000d0a442546a859da8",
      "fileid": "eb263a69f3a16c6f2c87d3ac709fa550aca95ec5209b16a4a583e7e4e36cca7a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/blakemoya/actions/runs/26022371738"
    }
  ]
}