Awesome, it works, thanks! however, how can I use this info to define another row? like create a new vector Q Q=p (a numeric variable ) if lab='put'; Q=c (a numeric variable ) if lab='call'; Q=(p+c)/2 if lab='mix'; The vector should be continuous, like p c lab Q 1 2 put 1 2 3 call 3 4 5 call 5 6 7 mix 6.5
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.