Learn R Programming

spcadjust (version 1.0)

runchart: Runs a chart

Description

Generic method for running a chart on new data using given parameters xi.

Usage

runchart(chart, newdata, xi)
"runchart"(chart, newdata, xi)
"runchart"(chart, newdata, xi)
"runchart"(chart, newdata, xi)

Arguments

chart
the chart to be used.
newdata
the new observed data.
xi
the parameters to be used in running the chart.

Value

The path of the chart over time.

Methods (by class)

  • SPCCUSUM: Generic function for running CUSUM charts. Relies on updates being implemented for the chart.
  • SPCEWMA: Generic function for running EWMA charts. Relies on updates being implemented for the chart.
  • SPCShew: Simply computes the updates appropriate for the Shewhart chart and returns them.