movbox(timeslab) | R Documentation |
Form Quantities Needed for Moving Box Plot
movbox(x,k)
x |
Array of length $n$ containing the data. |
k |
Integer indicating the length of the moving average smoother. |
movbox |
returns a list containing the following three objects: |
summ |
Matrix ($ntimes 5$) with columns defined as follows: |
|
Column 1 is largest value in $[u4, u4 + 1.5*IQR]$, or $u4$ if none, |
|
Column 2 is the upper fourth (median of largest
({n }+1)/2), |
|
Column 3 is the median, |
|
Column 4 is lower fourth (median of smallest
({n }+1)/2), |
|
Column 5 is smallest value in $[l4, l4 - 1,5*IQR]$, or $l4$ if none, |
|
where $IQR$ is the interquartile range. |
inds |
Integer array of indices. |
outs |
Real array containing values corresponding to {inds }
that fall outside $[l4 - 1.5*IQR, u4 + 1.5*IQR]$. |