xmrr is a package designed to generate and visualize control charts from time-series data.
xmr()
: Generates XMR
data.
xmr_chart()
: Takes the output from
xmr() and makes an XMR chart.
For the development version:
::install_github("zanidean/xmrr") devtools
For the official CRAN version:
install.packages("xmrr")
XMRS have two key asssumptions:
Measurements of value happen over sequential time.
Each unit of time has only one measurement of value.
This snippet shows the basic syntax:
<- seq(2001, 2009, 1)
Year <- runif(length(Year))
Measure
<- data.frame(Year, Measure)
df
xmr(df, "Measure", recalc = T)