{
  "_id": "6ad08031e2d863f6629550c0",
  "Package": "dupiR",
  "Type": "Package",
  "Title": "Bayesian Inference from Count Data using Discrete Uniform Priors",
  "Version": "1.2.1",
  "Date": "2024-03-17",
  "Authors@R": "c(person(given = \"Federico\",\nfamily = \"Comoglio\",\nrole = c(\"aut\", \"cre\"),\nemail = \"federico.comoglio@gmail.com\"),\nperson(given = \"Maurizio\",\nfamily = \"Rinaldi\",\nrole = c(\"aut\"),\nemail = \"maurizio.rinaldi@uniupo.it\")\n)",
  "Author": "Federico Comoglio [aut, cre], Maurizio Rinaldi [aut]",
  "Maintainer": "Federico Comoglio <federico.comoglio@gmail.com>",
  "Description": "We consider a set of sample counts obtained by sampling\narbitrary fractions of a finite volume containing an\nhomogeneously dispersed population of identical objects. This\npackage implements a Bayesian derivation of the posterior\nprobability distribution of the population size using a\nbinomial likelihood and non-conjugate, discrete uniform priors\nunder sampling with or without replacement. This can be used\nfor a variety of statistical problems involving absolute\nquantification under uncertainty. See Comoglio et al. (2013)\n<doi:10.1371/journal.pone.0074388>.",
  "License": "GPL-2",
  "LazyLoad": "yes",
  "RoxygenNote": "7.3.1",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Repository": "https://federicocomoglio.r-universe.dev",
  "Date/Publication": "2024-03-20 08:24:08 UTC",
  "RemoteUrl": "https://github.com/federicocomoglio/dupir",
  "RemoteRef": "HEAD",
  "RemoteSha": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-15 06:40:50 UTC",
    "User": "root"
  },
  "_user": "federicocomoglio",
  "_type": "src",
  "_file": "dupiR_1.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/efbe2d836bc93e2ae413e3f324edfb77d9c1a3f49326b48eab889d7bd8937a49",
  "_filesize": 134033,
  "_sha256": "efbe2d836bc93e2ae413e3f324edfb77d9c1a3f49326b48eab889d7bd8937a49",
  "_expires": "2027-01-23T07:26:32.000Z",
  "_created": "2026-10-15T06:40:50.000Z",
  "_published": "2026-10-15T07:26:40.834Z",
  "_buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116285877498,
      "time": 102,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11953745381"
    },
    {
      "job": 116285877526,
      "time": 93,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11953247133"
    },
    {
      "job": 116285877539,
      "time": 257,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11955174086"
    },
    {
      "job": 116285877511,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954291885"
    },
    {
      "job": 116284568574,
      "time": 237,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11952624984"
    },
    {
      "job": 116285877571,
      "time": 75,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11953032176"
    },
    {
      "job": 116285877518,
      "time": 64,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11952909946"
    },
    {
      "job": 116285877658,
      "time": 69,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11953830281"
    },
    {
      "job": 116285877512,
      "time": 57,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11953421881"
    }
  ],
  "_upstream": "https://github.com/federicocomoglio/dupir",
  "_commit": {
    "id": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
    "author": "FedericoComoglio <federico.comoglio@gmail.com>",
    "committer": "FedericoComoglio <federico.comoglio@gmail.com>",
    "message": "Add return values\n",
    "time": 1710923048
  },
  "_maintainer": {
    "name": "Federico Comoglio",
    "email": "federico.comoglio@gmail.com",
    "login": "federicocomoglio",
    "linkedin": "in/fcomoglio",
    "description": "\n",
    "uuid": 5443822
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.15.1",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "plotrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "federicocomoglio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayesian-inference"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "federicocomoglio",
      "count": 95,
      "uuid": 5443822
    }
  ],
  "_userbio": {
    "uuid": 5443822,
    "type": "user",
    "name": "Federico Comoglio",
    "followers": 0
  },
  "_downloads": {
    "count": 275,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dupiR"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/federicocomoglio/dupir",
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dupiR.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/federicocomoglio/dupir",
  "_realowner": "federicocomoglio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2013-06-20"
    },
    {
      "version": "1.1",
      "date": "2013-08-06"
    },
    {
      "version": "1.2",
      "date": "2014-12-29"
    },
    {
      "version": "1.2.1",
      "date": "2024-03-21"
    }
  ],
  "_exports": [
    "compute_posterior",
    "get_counts",
    "get_fractions",
    "get_posterior_param",
    "new_counts",
    "plot",
    "plot_posterior",
    "set_counts<-",
    "set_fractions<-",
    "summary"
  ],
  "_help": [
    {
      "page": "dupiR-package",
      "title": "Bayesian inference from count data using discrete uniform priors",
      "topics": [
        "dupiR-package",
        "dupiR"
      ]
    },
    {
      "page": "compute_ecdf",
      "title": "Compute ECDF (empirical cumulative distribution function)",
      "topics": [
        "compute_ecdf"
      ]
    },
    {
      "page": "compute_normalization_constant",
      "title": "Compute normalization constant",
      "topics": [
        "compute_normalization_constant"
      ]
    },
    {
      "page": "compute_posterior",
      "title": "Compute the posterior probability distribution of the population size for an object of class 'Counts'",
      "topics": [
        "compute_posterior"
      ]
    },
    {
      "page": "compute_posterior_with_replacement",
      "title": "Compute posterior probability with replacement",
      "topics": [
        "compute_posterior_with_replacement"
      ]
    },
    {
      "page": "compute_sum",
      "title": "Compute sum of terms (function F, Comoglio et al.)",
      "topics": [
        "compute_sum"
      ]
    },
    {
      "page": "compute_term",
      "title": "Compute single term (function F, Comoglio et al.)",
      "topics": [
        "compute_term"
      ]
    },
    {
      "page": "Counts-class",
      "title": "An S4 class to store measurements (count data, sampling fractions), prior support and posterior parameters",
      "topics": [
        "compute_posterior,Counts-method",
        "Counts-class",
        "get_counts,Counts-method",
        "get_fractions,Counts-method",
        "get_posterior_param,Counts-method",
        "plot_posterior,Counts-method",
        "set_counts<-,Counts-method",
        "set_fractions<-,Counts-method"
      ]
    },
    {
      "page": "gamma_poisson_clough",
      "title": "Compute posterior probability using a Gamma-Poisson model (Clough et al.)",
      "topics": [
        "gamma_poisson_clough"
      ]
    },
    {
      "page": "get_counts",
      "title": "Get 'counts' slot for an object of class 'Counts'",
      "topics": [
        "get_counts"
      ]
    },
    {
      "page": "get_fractions",
      "title": "Get 'fractions' slot for an object of class 'Counts'",
      "topics": [
        "get_fractions"
      ]
    },
    {
      "page": "get_posterior_param",
      "title": "Compute posterior probability distribution parameters (e.g. credible intervals) for an object of class 'Counts'",
      "topics": [
        "get_posterior_param"
      ]
    },
    {
      "page": "initialize-Counts-method",
      "title": "Initialize 'Counts' class",
      "topics": [
        "initialize,Counts-method"
      ]
    },
    {
      "page": "new_counts",
      "title": "Constructor for 'Counts' class",
      "topics": [
        "new_counts"
      ]
    },
    {
      "page": "plot_posterior",
      "title": "Plot posterior probability distribution and display posterior parameters for an object of class 'Counts'",
      "topics": [
        "plot_posterior"
      ]
    },
    {
      "page": "plot-Counts-method",
      "title": "Plot method for 'Counts' class",
      "topics": [
        "plot,Counts-method"
      ]
    },
    {
      "page": "set_counts-set",
      "title": "Set 'counts' slot for an object of class 'Counts'",
      "topics": [
        "set_counts<-"
      ]
    },
    {
      "page": "set_fractions-set",
      "title": "Set 'fractions' slot for an object of class 'Counts'",
      "topics": [
        "set_fractions<-"
      ]
    },
    {
      "page": "show-Counts-method",
      "title": "Print method for 'Counts' class",
      "topics": [
        "show,Counts-method"
      ]
    },
    {
      "page": "summary-Counts-method",
      "title": "Summary method for 'Counts' class",
      "topics": [
        "summary,Counts-method"
      ]
    }
  ],
  "_readme": "https://github.com/federicocomoglio/dupir/raw/HEAD/README.md",
  "_rundeps": [
    "plotrix"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "dupir",
  "_universes": [
    "federicocomoglio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-15T06:42:39.000Z",
      "distro": "resolute",
      "commit": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
      "fileid": "https://r2.ropensci.org/8ba07bf55ad3d96ababed5db5d0c64ab88a7bd755001eb477487fe9733ea93d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-15T06:42:30.000Z",
      "distro": "resolute",
      "commit": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
      "fileid": "https://r2.ropensci.org/77c8ae4fefa67f5aa92b84a465a69ef0ad561f448467163d45f6786ad8c85636",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-15T07:25:22.000Z",
      "commit": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
      "fileid": "https://r2.ropensci.org/d5f0329b07c4ab53eb45f270f2268213e827c7eb6c0478e6c06cfb989ab02b85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-15T07:14:32.000Z",
      "commit": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
      "fileid": "https://r2.ropensci.org/616a877c3bb55a4c37f4b138298e3e2de5fbc152030427f1180f97b5ced32a5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-10-15T06:42:24.000Z",
      "commit": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
      "fileid": "https://r2.ropensci.org/6bee9b22c5cd30d103e31029bf8ba36f41ddce6b0886994a45347b5ce84f121f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-15T06:41:55.000Z",
      "commit": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
      "fileid": "https://r2.ropensci.org/83178282c4505ee907495819772f6b7853aa8da70b9e3c7e197397a9041a3325",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-15T06:42:01.000Z",
      "commit": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
      "fileid": "https://r2.ropensci.org/8e5d7470bf32374c11e31de1f648463b984764d3de6391b8121f9c6749e1333c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-15T06:41:50.000Z",
      "commit": "ddb65a941a2b43308290ef1f5030ffae0ca3d2c5",
      "fileid": "https://r2.ropensci.org/37b5565e0d078b11e31084b5f52a31e3857674d4d08404a5e761e38134e50be1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/federicocomoglio/actions/runs/38693448186"
    }
  ]
}