{
  "_id": "6a1eace4b25058d4daada14c",
  "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://nickreich.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-06-02 10:09:45 UTC",
    "User": "root"
  },
  "Author": "Nicholas G. Reich [aut, cre],\nJustin Lessler [aut],\nAndrew Azman [aut],\nZhian N. Kamvar [ctb],\nHugo Gruson [ctb]",
  "MD5sum": "e4d2573d87ebbfe18b91e7df51840372",
  "_user": "nickreich",
  "_type": "src",
  "_file": "coarseDataTools_0.7.2.tar.gz",
  "_fileid": "1b4be6498646cdeab86fc87462e84a0eb9bab170ad7b11db5dd28d4519114213",
  "_filesize": 249746,
  "_sha256": "1b4be6498646cdeab86fc87462e84a0eb9bab170ad7b11db5dd28d4519114213",
  "_created": "2026-06-02T10:09:45.000Z",
  "_published": "2026-06-02T10:13:55.990Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79047728767,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354898772"
    },
    {
      "job": 79047728388,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354897634"
    },
    {
      "job": 79047728411,
      "time": 207,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354913495"
    },
    {
      "job": 79047728440,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354901622"
    },
    {
      "job": 79047128468,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354851838"
    },
    {
      "job": 79047728471,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354888861"
    },
    {
      "job": 79047728368,
      "time": 94,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354885439"
    },
    {
      "job": 79047728403,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354884054"
    },
    {
      "job": 79047728513,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354883281"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": true,
  "_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": 1280767,
    "type": "user",
    "name": "Nicholas G Reich"
  },
  "_downloads": {
    "count": 1157,
    "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": 36,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/coarseDataTools.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.096757114438699,
  "_indexed": true,
  "_nocasepkg": "coarsedatatools",
  "_universes": [
    "nickreich"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.2",
      "date": "2026-06-02T10:11:48.000Z",
      "distro": "noble",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "192e3b61cb173b252fdbef6f3f6b98ab2a5402f404eecfc41606c22b980a3fc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.2",
      "date": "2026-06-02T10:11:43.000Z",
      "distro": "noble",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "82d3f482cdcbc87605c4fc44414886bdb51f85389152e5e40a37f2699d3e8efe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.2",
      "date": "2026-06-02T10:12:43.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "401d8bacdd2368abd69c0a9c6b42e3ff917f7737a8d0dc3bf841857498943776",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.2",
      "date": "2026-06-02T10:12:03.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "f11d4b73f905d660354c58f16fbbc6da5d0e059840e952760fab41820cb7118f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.2",
      "date": "2026-06-02T10:11:51.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "6e9bd084cc1ebc4d37a2951f600306e7153ef50615704140f7b22097c936aefc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-06-02T10:11:03.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "8ba9e800de12728c2393a4dcf298b5ba5601932be39a51ccb1bcc2693d9da15f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-06-02T10:10:58.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "b7b8c72a4d994569014597b41bb7ddd1809dbfad764d2ea04d5d6d9ed2a0786c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-06-02T10:10:58.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "e1acb8f1dcda4e6a766436f98288b956d3ad243f9d7e31944154d5abd6c5d330",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/26812854816"
    }
  ]
}