different If statement

use else in combination with if , and use compound logical conditions i.e. & / |


For more specific help, so as to help us to help you, you might prepare a repr oducible ex ample (reprex) illustrating your issue. Please have a look at this guide, to see how to create one:

1 Like