{
  "_id": "6abccef199f7aa8c6aa4c144",
  "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-09-30 08:20:18 UTC",
    "User": "root"
  },
  "Author": "Nicholas G. Reich [aut, cre],\nJustin Lessler [aut],\nAndrew Azman [aut],\nZhian N. Kamvar [ctb],\nHugo Gruson [ctb]",
  "_user": "nickreich",
  "_type": "src",
  "_file": "coarseDataTools_0.7.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/facf0fa0375a959b169851fa2a67bc7f6ee5a999c58ffce2e5e585fa185375f1",
  "_filesize": 251743,
  "_sha256": "facf0fa0375a959b169851fa2a67bc7f6ee5a999c58ffce2e5e585fa185375f1",
  "_expires": "2027-01-08T08:57:18.000Z",
  "_created": "2026-09-30T08:20:18.000Z",
  "_published": "2026-09-30T08:57:20.995Z",
  "_jobs": [
    {
      "job": 109801860575,
      "time": 186,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11085495090"
    },
    {
      "job": 109801860736,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11084814565"
    },
    {
      "job": 109801860648,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11085947911"
    },
    {
      "job": 109801860664,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11086861263"
    },
    {
      "job": 109800743156,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11085023377"
    },
    {
      "job": 109801860620,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11084188558"
    },
    {
      "job": 109801860722,
      "time": 71,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11084679500"
    },
    {
      "job": 109801860766,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11085270673"
    },
    {
      "job": 109801860712,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11084919101"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458",
  "_status": "success",
  "_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": 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",
    "followers": 104
  },
  "_downloads": {
    "count": 2059,
    "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": 0,
  "_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": 7.790777601337694,
  "_indexed": true,
  "_nocasepkg": "coarsedatatools",
  "_universes": [
    "nickreich"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.2",
      "date": "2026-09-30T08:23:09.000Z",
      "distro": "resolute",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/d77ba30a524d274069ceaa233a72fddc6eea92cfb1fdffc1957d10f23dd3fd53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.2",
      "date": "2026-09-30T08:22:20.000Z",
      "distro": "resolute",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/18b69d60bb997dbd4191574195285e6bedc2d265bdf8f5b074793097c2fe17ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.2",
      "date": "2026-09-30T08:52:50.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/22e6b9857ea07136ba3276f33a0a8495c08f3621c8238b8f0ad495b09e766e59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.2",
      "date": "2026-09-30T08:55:51.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/7153a592db6e67f9b829126b17ac25b8c5e8498285df8138e9d6f0fa1ed110e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.2",
      "date": "2026-09-30T08:22:22.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/5f1c25a34d26db4edcc22be87af3a201787d37261949c644e5768c129cfa111e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-09-30T08:21:18.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/19ed75a402f920a9b471a379a18c69dd33a345c28a7fbee0344638a41a994065",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-09-30T08:21:25.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/a48bc7207118f4979ce17a9ec89eb161aa99223063eb57c415dfdde56779a139",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.2",
      "date": "2026-09-30T08:21:24.000Z",
      "commit": "ff0290751126eaac43f5732b19478225ccfb2fbe",
      "fileid": "https://r2.ropensci.org/1fd7f72ef8751171aa0754604cefbecfbf4a7c408550668752a4a1001dd8f6ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nickreich/actions/runs/36688740458"
    }
  ]
}