search for: chuch

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

Did you mean: chuck
2012 Aug 13
4
if else elseif for data frames
...all, It seems like I cannot use normal 'if' for data frames. What would be the best way to do the following. if data$col1='high' data$col2='H' else if data$col1='Neutral' data$col2='N' else if data$col='low' data$col2='L' else #chuch a warning? Note that col2 was not an existing column and was newly assigned for this task. Thanks, Sachin [[alternative HTML version deleted]]