{
  "_id": "6a1ed712b401979e7340ec90",
  "Package": "bayescount",
  "Version": "1.0.0-9",
  "Date": "2017-03-20",
  "Title": "Statistical Analyses and Power Calculations for Count Data and\nFaecal Egg Count Reduction Tests (FECRT)",
  "Authors@R": "c(person(\"Matthew\", \"Denwood\", role=c(\"aut\",\"cre\"), email=\"md@sund.ku.dk\"),\nperson(\"Bob\", \"Wheeler\", role=\"cph\", comment=\"Copyright holder of the code in /src/dists.*\"))",
  "VignetteBuilder": "knitr",
  "Description": "Power calculations and hypothesis testing for the\ndifference in mean of two negative binomial distributions A set\nof functions to allow analysis of count data (such as faecal\negg count data) using Bayesian MCMC methods.  Returns\ninformation on the possible values for mean count, coefficient\nof variation and zero inflation (true prevalence) present in\nthe data.  A complete faecal egg count reduction test (FECRT)\nmodel is implemented, which returns inference on the true\nefficacy of the drug from the pre- and post-treatment data\nprovided, using non-parametric bootstrapping as well as using\nBayesian MCMC.  Functions to perform power analyses for faecal\negg counts (including FECRT) are also provided. A working\ninstallation of JAGS (<http://mcmc-jags.sourceforge.net>) is\nrequired for MCMC-based methods",
  "License": "GPL-2",
  "URL": "http://bayescount.sourceforge.net",
  "RoxygenNote": "6.1.1",
  "Config/pak/sysreqs": "jags",
  "Repository": "https://mdenwood.r-universe.dev",
  "Date/Publication": "2019-10-16 18:43:04 UTC",
  "RemoteUrl": "https://github.com/mdenwood/bayescount",
  "RemoteRef": "HEAD",
  "RemoteSha": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-20 10:06:44 UTC",
    "User": "root"
  },
  "Author": "Matthew Denwood [aut, cre],\nBob Wheeler [cph] (Copyright holder of the code in /src/dists.*)",
  "Maintainer": "Matthew Denwood <md@sund.ku.dk>",
  "MD5sum": "eecfb25eee2e6dcd10f331cc44f7929f",
  "_user": "mdenwood",
  "_type": "src",
  "_file": "bayescount_1.0.0-9.tar.gz",
  "_fileid": "627dc20fa4b02b6f3a4544d3a6c102709ff019f928ebaa29d2ec2c2e85b3c185",
  "_filesize": 2808915,
  "_sha256": "627dc20fa4b02b6f3a4544d3a6c102709ff019f928ebaa29d2ec2c2e85b3c185",
  "_created": "2026-05-20T10:06:44.000Z",
  "_published": "2026-06-02T13:13:54.192Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79078719115,
      "time": 154,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7107136675"
    },
    {
      "job": 79078718844,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7107138122"
    },
    {
      "job": 79078719212,
      "time": 156,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7107136896"
    },
    {
      "job": 79078719535,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7107139158"
    },
    {
      "job": 79078719571,
      "time": 349,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7107194781"
    },
    {
      "job": 79078719117,
      "time": 545,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7107265860"
    },
    {
      "job": 79078719149,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7107140327"
    },
    {
      "job": 79078718770,
      "time": 336,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7107192553"
    },
    {
      "job": 79078718208,
      "time": 204,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7107080902"
    },
    {
      "job": 79078717962,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79078718983,
      "time": 146,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7107133889"
    },
    {
      "job": 79078718869,
      "time": 385,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7107220782"
    },
    {
      "job": 79078718828,
      "time": 150,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7107135372"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mdenwood/bayescount",
  "_commit": {
    "id": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
    "author": "Matthew Denwood <md@sund.ku.dk>",
    "committer": "Matthew Denwood <md@sund.ku.dk>",
    "message": "Update optimize.cc\n",
    "time": 1571251384
  },
  "_maintainer": {
    "name": "Matthew Denwood",
    "email": "md@sund.ku.dk",
    "login": "mdenwood",
    "description": "Associate Professor in Quantitative Veterinary Epidemiology and Biostatistics at the University of Copenhagen",
    "uuid": 22961052
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "runjags",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rjags",
      "role": "Suggests"
    },
    {
      "package": "runjags",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinythemes",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "mdenwood",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mdenwood",
      "count": 11,
      "uuid": 22961052
    }
  ],
  "_userbio": {
    "uuid": 22961052,
    "type": "user",
    "name": "Matt Denwood",
    "description": "Associate Professor in Quantitative Veterinary Epidemiology and Biostatistics at the University of Copenhagen"
  },
  "_downloads": {
    "count": 364,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bayescount"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/mdenwood/bayescount",
  "_searchresults": 13,
  "_topics": [
    "cpp",
    "jags"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bayescount.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mdenwood/bayescount",
  "_realowner": "mdenwood",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.1",
      "date": "2007-08-27"
    },
    {
      "version": "0.8.0",
      "date": "2008-01-10"
    },
    {
      "version": "0.8.2",
      "date": "2008-01-16"
    },
    {
      "version": "0.9.0-7",
      "date": "2009-01-08"
    },
    {
      "version": "0.9.9-1",
      "date": "2009-11-24"
    },
    {
      "version": "0.9.9-2",
      "date": "2014-06-22"
    },
    {
      "version": "0.9.99-4",
      "date": "2015-03-02"
    },
    {
      "version": "0.9.99-5",
      "date": "2015-04-20"
    },
    {
      "version": "0.9.99-8",
      "date": "2022-05-07"
    },
    {
      "version": "0.9.99-9",
      "date": "2023-12-08"
    }
  ],
  "_exports": [
    "analyse_fecr",
    "assess.variance",
    "asymptotic_ci",
    "bayescount.single",
    "binary.search",
    "bnb_ps",
    "checkintlimit",
    "checklen2posdouble",
    "checksinglelogical",
    "checksingleposdouble",
    "checksingleposint",
    "checksingleprob",
    "conjbeta_ci",
    "count_analyses",
    "count_analysis",
    "count_model",
    "count_power",
    "count_precision",
    "count.analysis",
    "count.model",
    "count.power",
    "count.precision",
    "dobson_ci",
    "estimate_k",
    "estimate_k_experiment",
    "estimate_k_ml",
    "estimate_k_useless",
    "estimate_ks",
    "estimate_ks_old",
    "estimate_ks_old_old",
    "fec.analysis",
    "FEC.analysis",
    "fec.model",
    "FEC.model",
    "fec.power",
    "FEC.power",
    "fec.power.limits",
    "FEC.power.limits",
    "fec.precision",
    "FEC.precision",
    "fecrt",
    "FECRT",
    "fecrt_analyses",
    "fecrt_bnb",
    "fecrt_power",
    "fecrt_power_comparison_wrap",
    "fecrt_power_paired",
    "fecrt_power_pooled",
    "fecrt_power_unpaired",
    "fecrt_power_wrap",
    "fecrt_sim_paired",
    "fecrt_sim_unpaired",
    "fecrt.analysis",
    "FECRT.analysis",
    "fecrt.model",
    "FECRT.model",
    "fecrt.power",
    "FECRT.power",
    "fecrt.power.limits",
    "FECRT.power.limits",
    "fecrt.precision",
    "FECRT.precision",
    "find_theta",
    "findtheta",
    "get_type_ci",
    "get_type_pv",
    "lnormal_params",
    "lnormal.params",
    "methodcomp",
    "normal_params",
    "normal.params",
    "olderprint.fecrt.results",
    "pbeta_nbinom",
    "pbnb",
    "pbnb1",
    "pbnb2",
    "pghyper",
    "powersim_paired",
    "powersim_unpaired",
    "print.fecrt_results",
    "reduction_analysis",
    "reduction_model",
    "reduction_power",
    "reduction_precision",
    "reduction_pval",
    "reduction_pvals",
    "reduction.analysis",
    "reduction.model",
    "reduction.power",
    "reduction.precision",
    "run.model",
    "shiny_launch",
    "summarise_fecr",
    "waavp_ci"
  ],
  "_help": [
    {
      "page": "bayescount",
      "title": "Analysis and power calculations for faecal egg count (FEC) and faecal egg count reduction test (FECRT) data using computationally intensive statistical methods",
      "topics": [
        "bayescount-package",
        "bayescount",
        "bayescountpackage"
      ]
    },
    {
      "page": "count_analysis",
      "title": "Count data analysis",
      "topics": [
        "bayescount.single",
        "count.analysis",
        "count_analysis",
        "FEC.analysis",
        "fec.analysis"
      ]
    },
    {
      "page": "count_model",
      "title": "Count data model",
      "topics": [
        "count.model",
        "count_model",
        "FEC.model",
        "fec.model",
        "run.model"
      ]
    },
    {
      "page": "count_power",
      "title": "Count data power calculations",
      "topics": [
        "count.power",
        "count_power",
        "FEC.power",
        "fec.power"
      ]
    },
    {
      "page": "count_precision",
      "title": "Count data precision calculations",
      "topics": [
        "count.precision",
        "count_precision",
        "FEC.power.limits",
        "fec.power.limits",
        "FEC.precision",
        "fec.precision"
      ]
    },
    {
      "page": "bayescount.single",
      "title": "Analyse Count data using MCMC",
      "topics": [
        "bayescount.single",
        "count.analysis",
        "FEC.analysis",
        "fec.analysis"
      ]
    },
    {
      "page": "run.model",
      "title": "Analyse Count Data Using Jags",
      "topics": [
        "count.model",
        "FEC.model",
        "fec.model",
        "run.model"
      ]
    },
    {
      "page": "fec.power",
      "title": "Count Data Power Analysis Calculations",
      "topics": [
        "count.power",
        "FEC.power",
        "fec.power"
      ]
    },
    {
      "page": "fec.power.limits",
      "title": "Count Data Predicted Precision Calculations",
      "topics": [
        "count.precision",
        "FEC.power.limits",
        "fec.power.limits",
        "FEC.precision",
        "fec.precision"
      ]
    },
    {
      "page": "fecrt.power",
      "title": "FECRT Power Analysis Calculations",
      "topics": [
        "FECRT.power",
        "fecrt.power"
      ]
    },
    {
      "page": "fecrt.power.limits",
      "title": "FECRT Predicted Precision Calculations",
      "topics": [
        "FECRT.power.limits",
        "fecrt.power.limits",
        "FECRT.precision",
        "fecrt.precision"
      ]
    },
    {
      "page": "likelihood",
      "title": "Calculate the (Log) Likelihood of Obtaining Data from a Distribution",
      "topics": [
        "likelihood"
      ]
    },
    {
      "page": "lnormal_params",
      "title": "Calculate the Log-Normal Mean and Standard Deviation Using the Normal Mean and Standard Deviation and Vice Versa",
      "topics": [
        "lnormal.params",
        "lnormal_params",
        "normal.params",
        "normal_params"
      ]
    },
    {
      "page": "lnormal.params",
      "title": "Calculate the Log-Normal Mean and Standard Deviation Using the Normal Mean and Standard Deviation",
      "topics": [
        "lnormal.params"
      ]
    },
    {
      "page": "maximise.likelihood",
      "title": "Calculate the Maximum Likelihood Parameters of a Continuous or Count Distribution",
      "topics": [
        "maximise.likelihood"
      ]
    },
    {
      "page": "normal.params",
      "title": "Calculate the Normal Mean and Standard Deviation Using the Log-Normal Mean and Standard Deviation",
      "topics": [
        "normal.params"
      ]
    },
    {
      "page": "reduction_analysis",
      "title": "Analyse two sets of count data (such as FECRT) compared to a desired mean reduction",
      "topics": [
        "FECRT",
        "fecrt,",
        "fecrt.analysis",
        "FECRT.analysis,",
        "reduction.analysis",
        "reduction_analysis"
      ]
    },
    {
      "page": "reduction_model",
      "title": "Generate an un-run MCMC model for FECRT data",
      "topics": [
        "FECRT.model",
        "fecrt.model",
        "reduction.model",
        "reduction_model"
      ]
    },
    {
      "page": "reduction_power",
      "title": "Count reduction (eg FECRT) data power calculations",
      "topics": [
        "FECRT.power",
        "fecrt.power",
        "reduction.power",
        "reduction_power",
        "reduction_pval"
      ]
    },
    {
      "page": "reduction_precision",
      "title": "Count data reduction precision calculations",
      "topics": [
        "FECRT.power.limits",
        "fecrt.power.limits",
        "FECRT.precision",
        "fecrt.precision",
        "reduction.precision",
        "reduction_precision"
      ]
    }
  ],
  "_readme": "https://github.com/mdenwood/bayescount/raw/HEAD/README.md",
  "_rundeps": [
    "coda",
    "lattice",
    "Rcpp",
    "runjags"
  ],
  "_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": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "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"
    }
  ],
  "_score": 2.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "bayescount",
  "_universes": [
    "mdenwood"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:09:14.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "445c54cbdab5d58ec1587c801c67f9ffc01412c4e66deb73620d8e80d5392317",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:09:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "cfd27383a8942229e4edfad6d4c20be23958e7798c3ba1ad11e5a623774b7af0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:09:15.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "0524814ff1eeee8a46959fb7112387951254d490c4322e068c4ea34f089b94a9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:09:18.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "189dfbcec07176852e12fea6721a85bfc1df63ea3eeb0869d0bbbce35f152d71",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:09:29.000Z",
      "arch": "aarch64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "db66acea7dab8eafcec46b59ac78671ddf8ee20bd484f6321ea3b7f162afe868",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:11:01.000Z",
      "arch": "x86_64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "86e3625716c631723d2aff2700123f7b9aa7e80655980459bcbd070fc2ed0e1a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:09:20.000Z",
      "arch": "aarch64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "adae43dcdfb03b68d99cc08ff7e0fa7a3e3988c40e421b39e22a4ce6871541a3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:11:03.000Z",
      "arch": "x86_64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "614c673c37d1fdb36edfd50db0ecd12601e908103b7dbf1e1b326d4b1e1a611a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:08:23.000Z",
      "arch": "x86_64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "c7783ab96a11bed1868c988e89f1f690f13d6a6e802514473d0e2b7b1eddfa79",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:08:35.000Z",
      "arch": "x86_64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "98beca02c4482c60abc973202688d4e92fa5f2171ab97fa200d9b92455a48acb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0-9",
      "date": "2026-05-20T10:08:25.000Z",
      "arch": "x86_64",
      "commit": "a9906dcb6d8fcf1563df5591d1bf325c742e7935",
      "fileid": "7d25f2664c46ce83a898d39035560f7e40747a366d09e41965d9285b79c1c32b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdenwood/actions/runs/26155548819"
    }
  ]
}