Get the index of the out of control observations from control charts
Get the index of the out of control observations from control charts
This function returns a list for each control chart and returns the id of all observations that are out of control in that control chart.
which_ooc(cclist)
Arguments
cclist: A data.frame produced by control_charts_sof_pc.
Returns
A list of as many data.frame objects as the control charts in cclist. Each data frame has two columns, the n contains an index number giving the observation in the phase II data set, i.e. 1 for the first observation, 2 for the second, and so on, while the id column contains the id of the observation, which can be general and depends on the specific data set.