How to extend the IF command in a formula? Equivalent of select;when;when;otherwise;end;
Hi, I want to be able, in a scripted formula, to assign a text string to column depending onthe values of another column.For instance:A B1 Low2 Low3 Low4 Medium5 Medium6 Medium7 High8 High9 High10 HighHow does the formula lok for this? If(:A<=3,"Low",:A>=3 and :A<7,"Medium",:A>=7,"High") does not work.I Base SAS there is a command, select(); when();when(); ; ; otherwise;end; It is the e...