{
  "_id": "6a1f1804b401979e7341ec4a",
  "Package": "qra",
  "Type": "Package",
  "Title": "Quantal Response Analysis for Dose-Mortality Data",
  "Version": "0.2.8.1",
  "Authors@R": "c(person(given = \"John\",\nfamily = \"Maindonald\",\nrole = c(\"aut\", \"cre\"),\nemail = \"john@statsresearch.co.nz\",\ncomment = c(ORCID = \"0000-0002-0106-9224\")))",
  "Maintainer": "John Maindonald <john@statsresearch.co.nz>",
  "Description": "Functions are provided that implement the use of the\nFieller's formula methodology, for calculating a confidence\ninterval for a ratio of (commonly, correlated) means.  See\nFieller (1954) <doi:10.1111/j.2517-6161.1954.tb00159.x>.  Here,\nthe application of primary interest is to studies of insect\nmortality response to increasing doses of a fumigant, or, e.g.,\nto time in coolstorage. The formula is used to calculate a\nconfidence interval for the dose or time required to achieve a\nspecified mortality proportion, commonly 0.5 or 0.99. Vignettes\ndemonstrate link functions that may be considered, checks on\nfitted models, and alternative choices of error family.  Note\nin particular the betabinomial error family. See also\nMaindonald, Waddell, and Petry (2001)\n<doi:10.1016/S0925-5214(01)00082-5>.",
  "Encoding": "UTF-8",
  "License": "GPL-3",
  "URL": "https://github.com/jhmaindonald/qra",
  "BugReports": "https://github.com/jhmaindonald/qra/issues",
  "VignetteBuilder": "knitr, rmarkdown, bookdown, prettydoc",
  "LazyData": "TRUE",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "cmake make libjpeg-dev libpng-dev libuv1-dev",
  "Repository": "https://jhmaindonald.r-universe.dev",
  "Date/Publication": "2025-05-22 00:36:38 UTC",
  "RemoteUrl": "https://github.com/jhmaindonald/qra",
  "RemoteRef": "HEAD",
  "RemoteSha": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 05:52:54 UTC",
    "User": "root"
  },
  "Author": "John Maindonald [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0106-9224>)",
  "MD5sum": "0aa8a0198aeea2c46bb6692368921fe5",
  "_user": "jhmaindonald",
  "_type": "src",
  "_file": "qra_0.2.8.1.tar.gz",
  "_fileid": "787e3ce173d1deba837fa458cddf5e3c7a2c3d26c960cd3dfd65d957069a1427",
  "_filesize": 3861598,
  "_sha256": "787e3ce173d1deba837fa458cddf5e3c7a2c3d26c960cd3dfd65d957069a1427",
  "_created": "2026-05-17T05:52:54.000Z",
  "_published": "2026-06-02T17:51:00.515Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79136101517,
      "time": 181,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039791603"
    },
    {
      "job": 79136100755,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039790838"
    },
    {
      "job": 79136100974,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039782200"
    },
    {
      "job": 79136101317,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039786036"
    },
    {
      "job": 79136100397,
      "time": 263,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039770672"
    },
    {
      "job": 79136100062,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365617096"
    },
    {
      "job": 79136100719,
      "time": 122,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039785103"
    },
    {
      "job": 79136101190,
      "time": 103,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039783102"
    },
    {
      "job": 79136101228,
      "time": 218,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039795670"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jhmaindonald/qra",
  "_commit": {
    "id": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
    "author": "John Maindonald <john@statsresearch.co.nz>",
    "committer": "John Maindonald <john@statsresearch.co.nz>",
    "message": "Update NEWS\n",
    "time": 1747874198
  },
  "_maintainer": {
    "name": "John Maindonald",
    "email": "john@statsresearch.co.nz",
    "login": "jhmaindonald",
    "description": "",
    "uuid": 1291944,
    "orcid": "0000-0002-0106-9224"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "lattice",
      "role": "Depends"
    },
    {
      "package": "latticeExtra",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Depends"
    },
    {
      "package": "rmarkdown",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "fitODBOD",
      "role": "Suggests"
    },
    {
      "package": "VGAM",
      "role": "Suggests"
    },
    {
      "package": "glmmTMB",
      "version": ">= 1.1.2",
      "role": "Suggests"
    },
    {
      "package": "gamlss",
      "role": "Suggests"
    },
    {
      "package": "prettydoc",
      "role": "Suggests"
    },
    {
      "package": "DHARMa",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "version": ">= 1.2",
      "role": "Suggests"
    },
    {
      "package": "plotrix",
      "role": "Suggests"
    },
    {
      "package": "dfoptim",
      "role": "Suggests"
    },
    {
      "package": "optimx",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    }
  ],
  "_owner": "jhmaindonald",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jhmaindonald",
      "count": 43,
      "uuid": 1291944
    },
    {
      "user": "bbolker",
      "count": 2,
      "uuid": 78918
    },
    {
      "user": "dmurdoch",
      "count": 1,
      "uuid": 1935680
    }
  ],
  "_userbio": {
    "uuid": 1291944,
    "type": "user",
    "name": "John H Maindonald"
  },
  "_downloads": {
    "count": 616,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/qra"
  },
  "_devurl": "https://github.com/jhmaindonald/qra",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/qra.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jhmaindonald/qra",
  "_realowner": "jhmaindonald",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.8",
      "date": "2021-06-07"
    },
    {
      "version": "0.2.1",
      "date": "2021-09-22"
    },
    {
      "version": "0.2.6",
      "date": "2021-10-17"
    },
    {
      "version": "0.2.7",
      "date": "2021-10-29"
    },
    {
      "version": "0.2.8.1",
      "date": "2025-05-27"
    }
  ],
  "_exports": [
    "checkDisp",
    "extractLT",
    "extractLTpwr",
    "fieller",
    "fieller2",
    "foldp",
    "fpower",
    "getRho",
    "getScaleCoef",
    "gpsWithin",
    "graphSum",
    "scaleLocAdjust",
    "varRatio"
  ],
  "_datasets": [
    {
      "name": "codling1988",
      "title": "Dose-mortality data, for fumigation of codling moth with methyl bromide",
      "object": "codling1988",
      "class": [
        "data.frame"
      ],
      "fields": [
        "dose",
        "ct",
        "total",
        "dead",
        "PropDead",
        "Cultivar",
        "rep",
        "cultRep"
      ],
      "rows": 77,
      "table": true,
      "tojson": true
    },
    {
      "name": "codling1989",
      "title": "Dose-mortality data, for fumigation of codling moth with methyl bromide",
      "object": "codling1989",
      "class": [
        "data.frame"
      ],
      "fields": [
        "dose",
        "ct",
        "total",
        "dead",
        "PropDead",
        "Cultivar",
        "rep",
        "cultRep"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "HawCon",
      "title": "Hawaiian Contemporary Cold Treatment Dataset",
      "object": "HawCon",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Species",
        "CN",
        "LifestageTrt",
        "RepNumber",
        "PropDead",
        "TrtTime",
        "Dead",
        "Live",
        "Total"
      ],
      "rows": 106,
      "table": true,
      "tojson": true
    },
    {
      "name": "kerrich",
      "title": "Kerrich Coin Toss Trial Outcomes",
      "object": "kerrich",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "malesINfirst12",
      "title": "Number of males among first 12 in families of 13 children",
      "object": "malesINfirst12",
      "class": [
        "data.frame"
      ],
      "fields": [
        "No_of_Males",
        "freq"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    },
    {
      "name": "rayBlight",
      "title": "Incidence of ray blight disease of pyrethrum",
      "object": "rayBlight",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "checkDisp",
      "title": "Reproduce data for the linear model scale-location diagnostic plot",
      "topics": [
        "checkDisp"
      ]
    },
    {
      "page": "codling1988",
      "title": "Dose-mortality data, for fumigation of codling moth with methyl bromide",
      "topics": [
        "codling1988",
        "codling1989"
      ]
    },
    {
      "page": "extractLT",
      "title": "Obtain complete set of LT or LD estimates",
      "topics": [
        "extractLT",
        "extractLTpwr"
      ]
    },
    {
      "page": "fieller",
      "title": "Confidence Limits for Lethal Dose Estimate From Dose-response Line",
      "topics": [
        "fieller",
        "fieller2"
      ]
    },
    {
      "page": "foldp",
      "title": "Title Function to calculate ratio of 'p+eps' to '1-p+eps'.",
      "topics": [
        "foldp"
      ]
    },
    {
      "page": "fpower",
      "title": "Folded Power Transformation",
      "topics": [
        "fpower"
      ]
    },
    {
      "page": "getRho",
      "title": "Extract estimates of the intra-class correlation from a glmmTMB model object with beta-binomial error.",
      "topics": [
        "getRho"
      ]
    },
    {
      "page": "getScaleCoef",
      "title": "Extract scaling coefficients from vector returned by 'scale()'",
      "topics": [
        "getScaleCoef"
      ]
    },
    {
      "page": "gpsWithin",
      "title": "Use given vector to identify groups with specified categories",
      "topics": [
        "gpsWithin"
      ]
    },
    {
      "page": "graphSum",
      "title": "Draw graphs of insect mortality or other exposure-response data",
      "topics": [
        "graphSum"
      ]
    },
    {
      "page": "HawCon",
      "title": "Hawaiian Contemporary Cold Treatment Dataset",
      "topics": [
        "HawCon"
      ]
    },
    {
      "page": "kerrich",
      "title": "Kerrich Coin Toss Trial Outcomes",
      "topics": [
        "kerrich"
      ]
    },
    {
      "page": "malesINfirst12",
      "title": "Number of males among first 12 in families of 13 children",
      "topics": [
        "malesINfirst12"
      ]
    },
    {
      "page": "rayBlight",
      "title": "Incidence of ray blight disease of pyrethrum",
      "topics": [
        "rayBlight"
      ]
    },
    {
      "page": "scaleLocAdjust",
      "title": "Estimate dispersion as a function of predicted values",
      "topics": [
        "scaleLocAdjust"
      ]
    },
    {
      "page": "varRatio",
      "title": "First order approximation to variance of y-ordinate to slope ratio",
      "topics": [
        "varRatio"
      ]
    }
  ],
  "_rundeps": [
    "base64enc",
    "boot",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "deldir",
    "digest",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "interp",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "latticeExtra",
    "lifecycle",
    "lme4",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "minqa",
    "nlme",
    "nloptr",
    "png",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "countDists.Rmd",
      "filename": "countDists.html",
      "title": "Distributions for Binomial-like and Poisson-like Counts",
      "author": "John Maindonald",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Models for Binary Responses",
        "The Binomial and Poisson --- R functions",
        "More General Models for Binomial-like Counts",
        "Notational conventions",
        "The Pólya urn model as motivation for the betabinomial",
        "Comparing the betabinomial with the quasibinomial",
        "Data that do, and do not, appear binomial",
        "Diseased plants data --- comparison of alternative models",
        "Do differences from the binomial matter?",
        "Numbers of males, in first 12 of 13 children",
        "Bernoulli 0/1 data are a special case",
        "Count data --- Poisson and Related Distributions",
        "Data that do, and do not, appear Poisson",
        "Models for Poisson-Like Counts",
        "References"
      ],
      "created": "2021-05-05 08:56:06",
      "modified": "2023-11-10 20:59:05",
      "commits": 5
    },
    {
      "source": "MeBrPlot.Rmd",
      "filename": "MeBrPlot.html",
      "title": "Plot MeBr Apple Fumigation Data",
      "author": "John Maindonald",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Plot data",
        "Plot 1988 and 1989 data separately",
        "Correct for control mortality"
      ],
      "created": "2017-08-08 08:12:12",
      "modified": "2023-11-10 20:59:05",
      "commits": 7
    },
    {
      "source": "timeMortality.Rmd",
      "filename": "timeMortality.html",
      "title": "Quantal Response Analysis Functions",
      "author": "John Maindonald, Statistics Research Associates",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data setup and choice of model",
        "Graphical Display",
        "The choice of link function",
        "Modeling the error distribution",
        "Choices required for mixed model fits",
        "Quasibinomial errors",
        "Complementary log-log versus logit link",
        "Details of the model fitting process",
        "Fitted lines, vs fitted normal spline curves",
        "Diagnostic checks",
        "Uniform quantile-quantile plots --- an example.",
        "AIC-based model comparisons",
        "Estimates of $\\rho$, and of the dispersion factor",
        "Binomial errors, plus observation level random effects",
        "Confidence intervals for ratios",
        "99% Lethal time estimates and confidence intervals",
        "What difference does the choice of model make?",
        "Further models and model fitting functions",
        "Binomial errors, observation level random effects, and more",
        "Fits using lme4::glmer()",
        "AIC statistics",
        "Control settings",
        "Gaussian errors, on a complementary log-log scale",
        "Parting comments",
        "The assumed dose-response is a rough approximation!",
        "References"
      ],
      "created": "2021-05-05 08:56:06",
      "modified": "2025-05-19 07:42:32",
      "commits": 10
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "qra",
  "_universes": [
    "jhmaindonald"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.8.1",
      "date": "2026-05-17T05:55:37.000Z",
      "distro": "noble",
      "commit": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
      "fileid": "0b185cda4eea63f19d30904f5c95dab9775952b5b70db6d447cd2ebf3efcc9b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.8.1",
      "date": "2026-05-17T05:55:32.000Z",
      "distro": "noble",
      "commit": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
      "fileid": "e7eafe3e3983410ec21357264f61edc747e6819c82bf41c389be910889823c01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.8.1",
      "date": "2026-05-17T05:54:26.000Z",
      "commit": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
      "fileid": "6782bce295ff4eac5d7fd4bce0af9b2cb39dd5b87d2b6af83edff7f4ac0360ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.8.1",
      "date": "2026-05-17T05:54:52.000Z",
      "commit": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
      "fileid": "5524cb281a76b96c7cd8690b5b9a1b29daef63bec4fea72f109e98f53dd24eb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.8.1",
      "date": "2026-05-17T05:54:23.000Z",
      "commit": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
      "fileid": "2ab2abf20361087df2e90e0940acd6c4c3a678e7184a6485f580a293699f5402",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.8.1",
      "date": "2026-05-17T05:54:16.000Z",
      "commit": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
      "fileid": "ef763c2c91784caba6250ffd54e146be2eab9ece80867b89eea9c374620c1b14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.8.1",
      "date": "2026-05-17T05:56:14.000Z",
      "commit": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
      "fileid": "b3fbc661c7e7e84132a57ab1e972863dd4562b28e865b401c6460f347d3786fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.8.1",
      "date": "2026-06-02T17:50:42.000Z",
      "commit": "1b405d37e5299cd766de37ff2eaf89da03b9144d",
      "fileid": "5990096aae33fde37f1416378b32468637722fbe33dd1e142f438bfdf85cebce",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jhmaindonald/actions/runs/25982763040"
    }
  ]
}