{
  "_id": "6ad209d11200a4993021200b",
  "Package": "coarseDataTools",
  "Version": "0.7.2",
  "Date": "2025-04-09",
  "Title": "Analysis of Coarsely Observed Data",
  "Authors@R": "c(person(\"Nicholas G.\", \"Reich\", email = \"nick@umass.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Justin\", \"Lessler\", email = \"jlessler@unc.edu\", role = \"aut\"),\nperson(\"Andrew\", \"Azman\", email = \"andrewazman@gmail.com\", role = \"aut\"),\nperson(\"Zhian N.\", \"Kamvar\", email = \"zkamvar@gmail.com\", role = \"ctb\"),\nperson(\"Hugo\", \"Gruson\", email = \"hugo.gruson@normalesup.org\", role = \"ctb\"))",
  "Maintainer": "Nicholas G. Reich <nick@umass.edu>",
  "License": "GPL (>= 2)",
  "URL": "http://nickreich.github.io/coarseDataTools/",
  "Encoding": "UTF-8",
  "Description": "Functions to analyze coarse data. Specifically, it\ncontains functions to (1) fit parametric accelerated failure\ntime models to interval-censored survival time data, and (2)\nestimate the case-fatality ratio in scenarios with\nunder-reporting. This package's development was motivated by\napplications to infectious disease: in particular, problems\nwith estimating the incubation period and the case fatality\nratio of a given disease.  Sample data files are included in\nthe package. See Reich et al. (2009) <doi:10.1002/sim.3659>,\nReich et al. (2012) <doi:10.1111/j.1541-0420.2011.01709.x>, and\nLessler et al. (2009) <doi:10.1016/S1473-3099(09)70069-6>.",
  "Collate": "'CFR_estimation.R' 'dic.fit.mcmc.R' 'dic.fit.R'\n'get.obs.type.R' 'S4stuff.R' 'sampleSizeSimulation.R'\n'coarseDataTools-package.R'",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Repository": "https://epiverse-connect.r-universe.dev",
  "Date/Publication": "2025-04-11 23:46:31 UTC",
  "RemoteUrl": "https://github.com/nickreich/coarseDataTools",
  "RemoteRef": "HEAD",
  "RemoteSha": "ff0290751126eaac43f5732b19478225ccfb2fbe",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-16 11:23:06 UTC",
    "User": "root"
  },
  "Author": "Nicholas G. Reich [aut, cre],\nJustin Lessler [aut],\nAndrew Azman [aut],\nZhian N. Kamvar [ctb],\nHugo Gruson [ctb]",
  "_user": "epiverse-connect",
  "_type": "src",
  "_file": "coarseDataTools_0.7.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/7385a5a12655f6c51f6ad67a198c218b97a075c765e4d3c9c97f76a740b925e1",
  "_filesize": 250591,
  "_sha256": "7385a5a12655f6c51f6ad67a198c218b97a075c765e4d3c9c97f76a740b925e1",
  "_expires": "2027-01-24T11:26:07.000Z",
  "_created": "2026-10-16T11:23:06.000Z",
  "_published": "2026-10-16T11:26:09.012Z",
  "_buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116948225487,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12043021516"
    },
    {
      "job": 116948225373,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12042931754"
    },
    {
      "job": 116948225355,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12043535062"
    },
    {
      "job": 116948225429,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12042697790"
    },
    {
      "job": 116946949010,
      "time": 211,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12043250316"
    },
    {
      "job": 116948225353,
      "time": 76,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12043046248"
    },
    {
      "job": 116948225451,
      "time": 84,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12042314829"
    },
    {
      "job": 116948225477,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12042439122"
    },
    {
      "job": 116948225521,
      "time": 78,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12043415127"
    }
  ],
  "_upstream": "https://github.com/nickreich/coarseDataTools",
  "_commit": {
    "id": "ff0290751126eaac43f5732b19478225ccfb2fbe",
    "author": "Nicholas G Reich <nick@schoolph.umass.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #61 from nickreich/cran-link-fix\n\nupdate cross-reference for MCMCmetrop1R link",
    "time": 1744415191
  },
  "_maintainer": {
    "name": "Nicholas G. Reich",
    "email": "nick@umass.edu",
    "login": "nickreich",
    "description": "",
    "uuid": 1280767
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "MCMCpack",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "nickreich",
  "_selfowned": false,
  "_usedby": 8,
  "_updates": [],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "nickreich",
      "count": 89,
      "uuid": 1280767
    },
    {
      "user": "scottyaz",
      "count": 54,
      "uuid": 67367
    },
    {
      "user": "bisaloo",
      "count": 15,
      "uuid": 10783929
    },
    {
      "user": "zkamvar",
      "count": 5,
      "uuid": 3639446
    },
    {
      "user": "jlessler",
      "count": 4,
      "uuid": 4983095
    },
    {
      "user": "jstockwin",
      "count": 1,
      "uuid": 8227759
    }
  ],
  "_userbio": {
    "uuid": 114159794,
    "type": "organization",
    "name": "Epiverse-CONNECT",
    "followers": 6
  },
  "_downloads": {
    "count": 1992,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/coarseDataTools"
  },
  "_mentions": 5,
  "_devurl": "https://github.com/nickreich/coarsedatatools",
  "_pkgdown": "http://nickreich.github.io/coarseDataTools/",
  "_searchresults": 40,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/coarseDataTools.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/nickreich/coarsedatatools",
  "_realowner": "nickreich",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2010-04-09"
    },
    {
      "version": "0.2",
      "date": "2010-05-05"
    },
    {
      "version": "0.3",
      "date": "2010-08-18"
    },
    {
      "version": "0.5.1",
      "date": "2012-10-29"
    },
    {
      "version": "0.6-2",
      "date": "2013-08-05"
    },
    {
      "version": "0.6-3",
      "date": "2016-03-11"
    },
    {
      "version": "0.6-4",
      "date": "2019-06-05"
    },
    {
      "version": "0.6-5",
      "date": "2019-12-06"
    },
    {
      "version": "0.6-6",
      "date": "2021-12-09"
    },
    {
      "version": "0.7.2",
      "date": "2025-04-11"
    }
  ],
  "_exports": [
    "dic.fit",
    "dic.fit.mcmc",
    "EMforCFR",
    "generate.coarse.data",
    "get.obs.type",
    "logLik",
    "loglikhd",
    "precision.simulation",
    "precision.simulation.coarse",
    "precision.simulation.exact"
  ],
  "_datasets": [
    {
      "name": "exp.win.lengths",
      "title": "Exposure window lengths from an influenza outbreak at a NYC school",
      "object": "exp.win.lengths",
      "file": "exp.win.lengths.rda",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "fluA.inc.per",
      "title": "Coarse incubation period data for influenza A",
      "object": "fluA.inc.per",
      "file": "fluA.inc.per.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "author",
        "year",
        "EL",
        "ER",
        "SL",
        "SR",
        "type"
      ],
      "rows": 151,
      "table": true,
      "tojson": true
    },
    {
      "name": "nycH1N1",
      "title": "Incubation period data from New York City Public Schools, 2009 H1N1 influenza outbreak",
      "object": "nycH1N1",
      "file": "nycH1N1.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "EL",
        "ER",
        "SL",
        "SR",
        "type"
      ],
      "rows": 134,
      "table": true,
      "tojson": true
    },
    {
      "name": "simulated.outbreak.deaths",
      "title": "Simulated case and death reports from a fictional outbreak",
      "object": "simulated.outbreak.deaths",
      "file": "simulated.outbreak.deaths.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "time",
        "grp",
        "R",
        "D",
        "N"
      ],
      "rows": 120,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cd.fit",
      "title": "An S4 Class that stores a fitted coarse data object",
      "topics": [
        "cd.fit",
        "cd.fit-class"
      ]
    },
    {
      "page": "cd.fit.mcmc",
      "title": "An S4 Class that stores a MCMC fit coarse data object",
      "topics": [
        "cd.fit.mcmc",
        "cd.fit.mcmc-class"
      ]
    },
    {
      "page": "dgammaOff1",
      "title": "Function that calculates dgamma with a offset of 1 (i.e., 1 is equivalent to 0)",
      "topics": [
        "dgammaOff1"
      ]
    },
    {
      "page": "dic.fit",
      "title": "censored survival data",
      "topics": [
        "dic.fit"
      ]
    },
    {
      "page": "dic.fit.mcmc",
      "title": "Fits the distribution to the passed-in data using MCMC as implemented in MCMCpack.",
      "topics": [
        "dic.fit.mcmc"
      ]
    },
    {
      "page": "EMforCFR",
      "title": "A function to estimate the relative case fatality ratio when reporting rates are time-varying and deaths are lagged because of survival time.",
      "topics": [
        "EMforCFR"
      ]
    },
    {
      "page": "exp.win.lengths",
      "title": "Exposure window lengths from an influenza outbreak at a NYC school",
      "topics": [
        "exp.win.lengths"
      ]
    },
    {
      "page": "fluA.inc.per",
      "title": "Coarse incubation period data for influenza A",
      "topics": [
        "fluA.inc.per"
      ]
    },
    {
      "page": "get.obs.type",
      "title": "Tries to guess the observation types (SIC, DIC, or exact).",
      "topics": [
        "get.obs.type"
      ]
    },
    {
      "page": "logLik-methods",
      "title": "Get the log-likelihood value of a 'cd.fit' or 'cd.fit.mcmc' object",
      "topics": [
        "logLik",
        "logLik,cd.fit-method"
      ]
    },
    {
      "page": "loglikhd",
      "title": "Negative log likelihood for a dataset of interval-censored data, given a distribution and its parameters.",
      "topics": [
        "loglikhd"
      ]
    },
    {
      "page": "mcmc.erlang",
      "title": "Does a metropolis hastings for the Erlang distribution",
      "topics": [
        "mcmc.erlang"
      ]
    },
    {
      "page": "mcmcpack.ll",
      "title": "posterior log likelihood function to pass to MCMCpack sampler",
      "topics": [
        "mcmcpack.ll"
      ]
    },
    {
      "page": "nycH1N1",
      "title": "Incubation period data from New York City Public Schools, 2009 H1N1 influenza outbreak",
      "topics": [
        "nycH1N1"
      ]
    },
    {
      "page": "pgammaOff1",
      "title": "Function that calculates pgamma with a offset of 1 (i.e., 1 is equivalent to 0)",
      "topics": [
        "pgammaOff1"
      ]
    },
    {
      "page": "precision.simulation",
      "title": "Simulate incubation period analyses with coarse data",
      "topics": [
        "generate.coarse.data",
        "precision.simulation",
        "precision.simulation.coarse",
        "precision.simulation.exact"
      ]
    },
    {
      "page": "simulated.outbreak.deaths",
      "title": "Simulated case and death reports from a fictional outbreak",
      "topics": [
        "simulated.outbreak.deaths"
      ]
    }
  ],
  "_readme": "https://github.com/nickreich/coarseDataTools/raw/HEAD/README.md",
  "_rundeps": [
    "coda",
    "lattice",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mcmc",
    "MCMCpack",
    "quantreg",
    "SparseM",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "CFR_vignette.Rmd",
      "filename": "CFR_vignette.html",
      "title": "Using outbreak data to estimate the relative case fatality ratio",
      "author": "Nicholas G Reich",
      "engine": "knitr::knitr",
      "headings": [
        "Introduction to the data",
        "Loading the data and the code",
        "Running an analysis"
      ],
      "created": "2021-12-07 17:27:35",
      "modified": "2023-04-28 19:51:50",
      "commits": 2
    }
  ],
  "_score": 8.378470580135305,
  "_indexed": false,
  "_nocasepkg": "coarsedatatools",
  "_universes": [
    "epiverse-connect"
  ],
  "_indexurl": "https://nickreich.r-universe.dev/coarseDataTools",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.2",
      "date": "2026-10-16T11:24:46.000Z",
      "distro": "resolute",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/e4dacc2b5fc3e708123f9ca0b439a8596c5fff33f70b9e1dd2fcc1e7e5c56712",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.2",
      "date": "2026-10-16T11:24:44.000Z",
      "distro": "resolute",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/465973be3410201bc8a2b9fbb66ebf24db01c704a37851cefe84855637f56ca3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.2",
      "date": "2026-10-16T11:25:15.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/f26df96fd3d86cad17e307384d41df94c05aa138a931c571b4951a2e0bd02187",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.2",
      "date": "2026-10-16T11:24:44.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/3656e73243d672377ee9b4ad1e01f2f40744cef799054f1725e19d22f11b5a19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.2",
      "date": "2026-10-16T11:24:41.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/58fc942c9dafa4ceaeb5502db78f47ac13806a05f41acbb1da691cd998829de7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-10-16T11:24:15.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/725b4d67f1c15ff194e23db0074171247839f7d38c17cc0b0cb7f940d6c9dcb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-10-16T11:24:11.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/0437251b8fc7c8e96d5f75c00b00ce434b1762d60ba35178dc3f62cb35b4b771",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-10-16T11:24:06.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/c75ea4d9a35583df7f83439047b7d5b014a64a0f297a3d9c4c427fd6e13844b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/38893021371"
    }
  ]
}