Introduction

A run chart is a simple analytical tool that helps us understand changes in data over time. - NHS Healthcare Improvement Scotland.

Run charts^[As defined by the NHS Scotland Quality Improvement Hub] are non-trivial to automate. A number of solutions exist in the healthcare improvement community in Scotland. However the author is only aware of small-scale solutions such as scripts and Excel macros.

These kinds of approaches have the following limitations:

The runchart package aims to overcome these limitations by exporting a single, well tested, function of the same name: runchart().

Getting Started

Install the package using like this:

# install.packages("devtools")
devtools::install_github('jsphdms/runchart')

For example:

Code for plotting the result might look like this:

Things to Notice

There are several behaviours to notice in the plot above:



jsphdms/runchart documentation built on May 10, 2019, 1:16 p.m.