Displaying 1 result from an estimated 1 matches for "lcl1".
Did you mean:
lcl
2012 Jul 29
4
R- Help (looping)
...:
I've been working on a project a for a while, and I'm having trouble in
using the loop (for)
I need to read a column (c1), and for each value of this column, I need to
check if it's within the control limits
So, I was trying to do this:
For (k in 1: c1)
If (c1< lcl1 | c1 > ucl1) {here I need to store the values outside the
limits)
I have 5 columns, need to do the same process in each one of them.
And later on I'm gonna concatenate these 5 vectors and calculate its mean
for an ARL project.
[[alternative HTML version deleted]]