Solved
Vectorization
Hi all, can anyone teach me how to produce the results based on the if statement as shown in the attached picture? Thank you for your kind help:')

Hi all, can anyone teach me how to produce the results based on the if statement as shown in the attached picture? Thank you for your kind help:')

Simply add two additional arguments to Luc's function

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.