{
  "_id": "6a4792338b9f0d9747cf20b4",
  "Package": "qicharts2",
  "Title": "Quality Improvement Charts",
  "Version": "0.8.1",
  "Authors@R": "person('Jacob', 'Anhoej', email = 'jacob@anhoej.net',\nrole = c('aut', 'cre'))",
  "Description": "Functions for making run charts, Shewhart control charts\nand Pareto charts for continuous quality improvement. Included\ncontrol charts are: I, MR, Xbar, S, T, C, U, U', P, P', and G\ncharts. Non-random variation in the form of minor to moderate\npersistent shifts in data over time is identified by the Anhoej\nrules for unusually long runs and unusually few crossing\n[Anhoej, Olesen (2014) <doi:10.1371/journal.pone.0113825>].\nNon-random variation in the form of larger, possibly transient,\nshifts is identified by Shewhart's 3-sigma rule [Mohammed,\nWorthington, Woodall (2008) <doi:10.1136/qshc.2004.012047>].",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/anhoej/qicharts2",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://anhoej.r-universe.dev",
  "Date/Publication": "2026-07-02 08:35:06 UTC",
  "RemoteUrl": "https://github.com/anhoej/qicharts2",
  "RemoteRef": "HEAD",
  "RemoteSha": "162375679b46652169a609a5fab363fc818113ca",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-02 10:01:29 UTC",
    "User": "root"
  },
  "Author": "Jacob Anhoej [aut, cre]",
  "Maintainer": "Jacob Anhoej <jacob@anhoej.net>",
  "_user": "anhoej",
  "_type": "src",
  "_file": "qicharts2_0.8.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/b60f0a338448129f8917b88085f3b72ef3f4f1ea121782ad3143d61fabda0e07",
  "_filesize": 2773070,
  "_sha256": "b60f0a338448129f8917b88085f3b72ef3f4f1ea121782ad3143d61fabda0e07",
  "_expires": "2026-10-11T10:42:57.000Z",
  "_created": "2026-07-02T10:01:29.000Z",
  "_published": "2026-07-03T10:42:59.457Z",
  "_jobs": [
    {
      "job": 84982992470,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8035334656"
    },
    {
      "job": 84982992622,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8035334957"
    },
    {
      "job": 84982992593,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8035332894"
    },
    {
      "job": 84982992618,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8035322622"
    },
    {
      "job": 84982992168,
      "time": 185,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8035269555"
    },
    {
      "job": 84982992967,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8035316757"
    },
    {
      "job": 84982992954,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8035311608"
    },
    {
      "job": 84982992772,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8035312726"
    },
    {
      "job": 84982993064,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8035310762"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673",
  "_status": "success",
  "_upstream": "https://github.com/anhoej/qicharts2",
  "_commit": {
    "id": "162375679b46652169a609a5fab363fc818113ca",
    "author": "Jacob Anhøj <jacob@anhoej.net>",
    "committer": "Jacob Anhøj <jacob@anhoej.net>",
    "message": "Rebuild site.\n",
    "time": 1782981306
  },
  "_maintainer": {
    "name": "Jacob Anhoej",
    "email": "jacob@anhoej.net",
    "login": "anhoej",
    "description": "",
    "uuid": 4472772
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 2.2.0",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.7.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "anhoej",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 42,
  "_contributors": [
    {
      "user": "anhoej",
      "count": 293,
      "uuid": 4472772
    },
    {
      "user": "rmadillo",
      "count": 3,
      "uuid": 7614301
    },
    {
      "user": "andrjohns",
      "count": 2,
      "uuid": 27717896
    },
    {
      "user": "katrinleinweber",
      "count": 1,
      "uuid": 9948149
    }
  ],
  "_userbio": {
    "uuid": 4472772,
    "type": "user",
    "name": "Jacob Anhøj",
    "followers": 25
  },
  "_downloads": {
    "count": 883,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/qicharts2"
  },
  "_mentions": 4,
  "_devurl": "https://github.com/anhoej/qicharts2",
  "_searchresults": 181,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/qicharts2.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/anhoej/qicharts2",
  "_realowner": "anhoej",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2017-08-28"
    },
    {
      "version": "0.2.0",
      "date": "2017-11-19"
    },
    {
      "version": "0.2.1",
      "date": "2017-12-08"
    },
    {
      "version": "0.2.3",
      "date": "2017-12-16"
    },
    {
      "version": "0.3.0",
      "date": "2018-02-03"
    },
    {
      "version": "0.4.0",
      "date": "2018-03-03"
    },
    {
      "version": "0.5.1",
      "date": "2018-07-10"
    },
    {
      "version": "0.6.0",
      "date": "2019-03-16"
    },
    {
      "version": "0.6.1",
      "date": "2020-03-15"
    },
    {
      "version": "0.7.1",
      "date": "2020-10-28"
    },
    {
      "version": "0.7.2",
      "date": "2021-07-08"
    },
    {
      "version": "0.7.4",
      "date": "2023-08-21"
    },
    {
      "version": "0.7.5",
      "date": "2024-05-09"
    },
    {
      "version": "0.8.0",
      "date": "2025-05-15"
    },
    {
      "version": "0.8.1",
      "date": "2025-06-23"
    }
  ],
  "_exports": [
    "bchart",
    "paretochart",
    "qic"
  ],
  "_datasets": [
    {
      "name": "cabg",
      "title": "Coronary artery bypass graft operations",
      "object": "cabg",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "age",
        "gender",
        "los",
        "death",
        "readmission"
      ],
      "rows": 2205,
      "table": true,
      "tojson": true
    },
    {
      "name": "cdi",
      "title": "Clostridium difficile infections",
      "object": "cdi",
      "class": [
        "data.frame"
      ],
      "fields": [
        "month",
        "n",
        "days",
        "period",
        "notes"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    },
    {
      "name": "complaints",
      "title": "Complaints",
      "object": "complaints",
      "class": [
        "data.frame"
      ],
      "fields": [
        "month",
        "complaints",
        "sales"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "gtt",
      "title": "Patient harm identified using the Global Trigger Tool",
      "object": "gtt",
      "class": [
        "data.frame"
      ],
      "fields": [
        "admission_id",
        "admission_dte",
        "discharge_dte",
        "month",
        "days",
        "harms",
        "E",
        "F",
        "G",
        "H",
        "I"
      ],
      "rows": 340,
      "table": true,
      "tojson": true
    },
    {
      "name": "hospital_infections",
      "title": "Hospital acquired infections",
      "object": "hospital_infections",
      "class": [
        "data.frame"
      ],
      "fields": [
        "hospital",
        "infection",
        "month",
        "n",
        "days"
      ],
      "rows": 432,
      "table": true,
      "tojson": true
    },
    {
      "name": "lots",
      "title": "Lots",
      "object": "lots",
      "class": [
        "data.frame"
      ],
      "fields": [
        "lot",
        "value",
        "n"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "nhs_accidents",
      "title": "NHS accidents",
      "object": "nhs_accidents",
      "class": [
        "data.frame"
      ],
      "fields": [
        "i",
        "r",
        "n"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bchart",
      "title": "Bernoulli CUSUM chart for binary data (EXPERIMENTAL)",
      "topics": [
        "bchart"
      ]
    },
    {
      "page": "cabg",
      "title": "Coronary artery bypass graft operations",
      "topics": [
        "cabg"
      ]
    },
    {
      "page": "cdi",
      "title": "Clostridium difficile infections",
      "topics": [
        "cdi"
      ]
    },
    {
      "page": "complaints",
      "title": "Complaints",
      "topics": [
        "complaints"
      ]
    },
    {
      "page": "gtt",
      "title": "Patient harm identified using the Global Trigger Tool",
      "topics": [
        "gtt"
      ]
    },
    {
      "page": "hospital_infections",
      "title": "Hospital acquired infections",
      "topics": [
        "hospital_infections"
      ]
    },
    {
      "page": "lots",
      "title": "Lots",
      "topics": [
        "lots"
      ]
    },
    {
      "page": "nhs_accidents",
      "title": "NHS accidents",
      "topics": [
        "nhs_accidents"
      ]
    },
    {
      "page": "paretochart",
      "title": "Paretochart",
      "topics": [
        "paretochart"
      ]
    },
    {
      "page": "qic",
      "title": "Statistical process control charts.",
      "topics": [
        "qic"
      ]
    },
    {
      "page": "qicharts2",
      "title": "'qicharts2' package",
      "topics": [
        "qicharts2-package",
        "qicharts2"
      ]
    },
    {
      "page": "summary.qic",
      "title": "Prints summary of a qic object",
      "topics": [
        "summary.qic"
      ]
    }
  ],
  "_readme": "https://github.com/anhoej/qicharts2/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "qicharts2.Rmd",
      "filename": "qicharts2.html",
      "title": "Quality Improvement Charts",
      "author": "Jacob Anhøj",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Your first run and control charts",
        "Understanding variation",
        "Testing for special cause variation",
        "Shewhart's 3-sigma rule",
        "The Western Electric rules",
        "The Anhøj rules",
        "Choosing the right control chart",
        "Case 1: Patient harm",
        "Run chart of adverse events per 1000 patient days",
        "U chart of adverse events per 1000 patient days",
        "Run and P control charts of percent harmed patients",
        "Pareto analysis of adverse event types and severity",
        "Case 2: Clostridium difficile infections",
        "Run charts for number of infections",
        "C chart for number of infections",
        "U chart for infection rate",
        "When should you recompute the limits?",
        "Case 3: Coronary artery bypass graft",
        "I and MR charts for age of individual patients",
        "Xbar and S charts for average and standard deviation of patient age",
        "P charts for proportion of patients who were readmitted or died within 30 after surgery",
        "T and G charts for rare events",
        "Faceting readmission rates by gender",
        "Case 4: Faceting hospital infections by hospital and infection",
        "U chart of the total number of infections per 10,000 risk days",
        "Faceted U chart by type of infection",
        "Two-way faceted U chart by infection and hospital",
        "Funnels plot of infection rates by hospital",
        "Case 5: Prime charts for count data with very large sample sizes",
        "Conclusion",
        "References",
        "Appendix 1: Calculating 3-sigma limits",
        "Appendix 2: Critical values for longest run and number of crossings"
      ],
      "created": "2017-08-01 08:51:04",
      "modified": "2026-07-02 08:10:52",
      "commits": 17
    }
  ],
  "_score": 9.340320353026318,
  "_indexed": true,
  "_nocasepkg": "qicharts2",
  "_universes": [
    "anhoej"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.1",
      "date": "2026-07-02T10:03:48.000Z",
      "distro": "resolute",
      "commit": "162375679b46652169a609a5fab363fc818113ca",
      "fileid": "https://r2.ropensci.org/6b8832b2b55e45d9dfbf07a2bdda0d431a320ea9f8366e9f1ee05c3a421eec83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.8.1",
      "date": "2026-07-02T10:03:50.000Z",
      "distro": "resolute",
      "commit": "162375679b46652169a609a5fab363fc818113ca",
      "fileid": "https://r2.ropensci.org/6c35758b5fd86f5cf4f899a9a154a5f5034cf9da11f3093365786ec7510474eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.1",
      "date": "2026-07-02T10:03:55.000Z",
      "commit": "162375679b46652169a609a5fab363fc818113ca",
      "fileid": "https://r2.ropensci.org/2851ae3c44518e1b446f69cca9353fa9c3317f74103688511ad9a84a3dbfc411",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.8.1",
      "date": "2026-07-02T10:03:33.000Z",
      "commit": "162375679b46652169a609a5fab363fc818113ca",
      "fileid": "https://r2.ropensci.org/cb92f2b47f81b3ca3cce3d9f44225d7975fd099708432eacf47f86bfd7bca97e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.8.1",
      "date": "2026-07-02T10:03:39.000Z",
      "commit": "162375679b46652169a609a5fab363fc818113ca",
      "fileid": "https://r2.ropensci.org/46052553b124bfb49feff1b8178e36510c58ccf7fc629a0ad6dfdf7853e9dd23",
      "status": "success",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.1",
      "date": "2026-07-02T10:02:48.000Z",
      "commit": "162375679b46652169a609a5fab363fc818113ca",
      "fileid": "https://r2.ropensci.org/4734c66e643e77739de21e31dd8881e55b976e7063a3287e228cf198191b8250",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.8.1",
      "date": "2026-07-02T10:02:51.000Z",
      "commit": "162375679b46652169a609a5fab363fc818113ca",
      "fileid": "https://r2.ropensci.org/2adeca31b7bb3a9f015d8137a9135683183da91da8bca2881a49c4f2014db676",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.8.1",
      "date": "2026-07-02T10:02:44.000Z",
      "commit": "162375679b46652169a609a5fab363fc818113ca",
      "fileid": "https://r2.ropensci.org/c5dfb66e45cd7f09fccb34df20b363d546b33de3796814ef8996ab6497351db1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/28581557673"
    }
  ]
}