search for: signal3

Displaying 1 result from an estimated 1 matches for "signal3".

Did you mean: signal
2013 Aug 26
2
If else loop problem: the condition has length > 1 and only the first element will be used
...ve calculated values that need to be subtracted from each treatment applied. I'm trying this within a for loop with if and else commands to apply to correct subtraction. This is done as follows: attach(data.2013) #Normalize to known control for(i in signal2) { if(t.tr=="Pst 24") {signal3=(signal2 - 17.29)} if(t.tr=="Pst 48") {signal3=(signal2 - 43.93256)} if(t.tr=="Pst 72") {signal3=(signal2 - 43.477468)} if(t.tr=="Pto 24") {signal3=(signal2 - 29.39875)} if(t.tr=="Pto 48") {signal3=(signal2 - 76.796645)} if(t.tr=="Pto 72") {sig...