Package: copre Type: Package Title: Tools for Nonparametric Martingale Posterior Sampling Version: 0.2.2 Authors@R: c( person("Blake", "Moya", email = "blakemoya@utexas.edu", role = c("cre", "aut")), person("The University of Texas at Austin", role = c("cph", "fnd"))) Description: Performs Bayesian nonparametric density estimation using Martingale posterior distributions including the Copula Resampling (CopRe) algorithm. Also included are a Gibbs sampler for the marginal Gibbs-type mixture model and an extension to include full uncertainty quantification via a predictive sequence resampling (SeqRe) algorithm. The CopRe and SeqRe samplers generate random nonparametric distributions as output, leading to complete nonparametric inference on posterior summaries. Routines for calculating arbitrary functionals from the sampled distributions are included as well as an important algorithm for finding the number and location of modes, which can then be used to estimate the clusters in the data using, for example, k-means. Implements work developed in Moya B., Walker S. G. (2022). , Fong, E., Holmes, C., Walker, S. G. (2021) , and Escobar M. D., West, M. (1995) . License: GPL (>= 2) Encoding: UTF-8 RoxygenNote: 7.3.1 Roxygen: list(markdown = TRUE) LinkingTo: Rcpp, RcppArmadillo, BH Imports: Rcpp, pracma, abind, dirichletprocess Suggests: ggplot2 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: 2026-10-15 07:10:58 UTC; root Author: Blake Moya [cre, aut], The University of Texas at Austin [cph, fnd] Maintainer: Blake Moya