Search the Elsmar Cove!
**Search ALL of Elsmar.com** with DuckDuckGo including content not in the forum - Search results with No ads.

Using Minitab's ifelse command

Y

Ying4573

#1
s i time LOWER LIMIT,L UPPER LIMIT,U
1 0 1.764
1 0 2.088
0 0 88.283
1 0 6.154
0 0 87.733
1 0 0.198
1 0 0.3489
0 0 3.660
1 0 7.1284
0 0 2.4592
1 0 1.089
1 0 0.083
1 0 0.4256
1 0 2.535
1 0 9.7014
0 0 6.965
1 0 0.9990
1 0 0.038
1 0 0.3961
0 0 21.301

i need to use s, i and time column to determine my lower and upper limit. The interval used will be (0,4), (4,8), (8,12) and (12, *). When s=0 and i=0, L will be 'time' and U will be ' * '. When s=0 & i=1, L will be 0 and R will be 4 if 0<time<=4 ; L will be 4 and U will be 8 if 4<time<=8; L will be 8 and U will be 12 if 8<time<=12; L will be 12 and R will be ' * ' if time>12. When s=1 and i=0, both L and U will be time. When s=1 and i=1, both L and U will be time as well... To use these conditions to get my L and U column, what are the commands can i use?...
 
Top Bottom