{
  "_id": "6adc57c7ad718eea59ecc7dc",
  "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.1.0",
  "Repository": "https://anhoej.r-universe.dev",
  "Date/Publication": "2026-10-24 06:43:56 UTC",
  "RemoteUrl": "https://github.com/anhoej/qicharts2",
  "RemoteRef": "HEAD",
  "RemoteSha": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-24 06:56:50 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/0b826b1d59bb18852e138a56f8ac18badc63b6056a70d19a76641fde2922c0bc",
  "_filesize": 2771693,
  "_sha256": "0b826b1d59bb18852e138a56f8ac18badc63b6056a70d19a76641fde2922c0bc",
  "_expires": "2027-02-01T07:01:25.000Z",
  "_created": "2026-10-24T06:56:50.000Z",
  "_published": "2026-10-24T07:01:27.086Z",
  "_upstream": "https://github.com/anhoej/qicharts2",
  "_status": "success",
  "_maintainer": {
    "name": "Jacob Anhoej",
    "email": "jacob@anhoej.net",
    "login": "anhoej",
    "description": "",
    "uuid": 4472772
  },
  "_jobs": [
    {
      "job": 120807920147,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12551787496"
    },
    {
      "job": 120807920225,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12551254746"
    },
    {
      "job": 120807920186,
      "time": 188,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12551996173"
    },
    {
      "job": 120807920198,
      "time": 206,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12552175472"
    },
    {
      "job": 120807291833,
      "time": 189,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12551488764"
    },
    {
      "job": 120807920173,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12551374365"
    },
    {
      "job": 120807920228,
      "time": 76,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12551553787"
    },
    {
      "job": 120807920162,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12551752600"
    },
    {
      "job": 120807920164,
      "time": 99,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12551852160"
    }
  ],
  "_buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321",
  "_commit": {
    "id": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
    "author": "Jacob Anhøj <jacob@anhoej.net>",
    "committer": "Jacob Anhøj <jacob@anhoej.net>",
    "message": "Fix error i ip chart with freeze argument.\n",
    "time": 1792824236
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "2026-03",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 2
    },
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 43,
  "_contributors": [
    {
      "user": "anhoej",
      "count": 294,
      "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": 1254,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/qicharts2"
  },
  "_mentions": 4,
  "_devurl": "https://github.com/anhoej/qicharts2",
  "_searchresults": 192,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/qicharts2.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.349520971928765,
  "_indexed": true,
  "_nocasepkg": "qicharts2",
  "_universes": [
    "anhoej"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.1",
      "date": "2026-10-24T06:58:46.000Z",
      "distro": "resolute",
      "commit": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
      "fileid": "https://r2.ropensci.org/0b868b963f06e980b58b8ffd439295815ac531e66c5995e3b2b6dae6970c328d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.8.1",
      "date": "2026-10-24T06:58:43.000Z",
      "distro": "resolute",
      "commit": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
      "fileid": "https://r2.ropensci.org/ec7a14cb138e22408cb0cc2463c8bd448fd7f9beebdb710bb40a594decd94e75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.1",
      "date": "2026-10-24T06:59:33.000Z",
      "commit": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
      "fileid": "https://r2.ropensci.org/d10c2c0f25b34e615a1454ec3d8786f29a171636ffd6ee32734cce5edef78aa2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.8.1",
      "date": "2026-10-24T06:59:50.000Z",
      "commit": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
      "fileid": "https://r2.ropensci.org/97724ecf1f4d378be62dd6a2f55d6c58190ce0a9af5760301b9bf9b7f815171b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.8.1",
      "date": "2026-10-24T06:58:35.000Z",
      "commit": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
      "fileid": "https://r2.ropensci.org/4f7ad1c88024b669154e728a3601b8ea5aaca9fbdcb17bc5a0854a0f6ed62663",
      "status": "success",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.1",
      "date": "2026-10-24T06:57:53.000Z",
      "commit": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
      "fileid": "https://r2.ropensci.org/b288104818c9539accb6ab6948050fa556b0b92cc8a494405c01c738d3ce4ccd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.8.1",
      "date": "2026-10-24T06:58:06.000Z",
      "commit": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
      "fileid": "https://r2.ropensci.org/6fbbb8efb9998cbc7201ad377b372669c740a00ccb10a1440ca4b1339206c4ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.8.1",
      "date": "2026-10-24T06:58:20.000Z",
      "commit": "06773e0833cb02f64aae08c47aeeaab06bc5c117",
      "fileid": "https://r2.ropensci.org/5e3e0890ddfb1c580771d737b67da9226d3729c9dd8c66a5e56d2dc237f15897",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anhoej/actions/runs/40071997321"
    }
  ]
}