Answer by ShellFish for Working with multiple if else statements
You want the if check to always be evaluated but once the first one is true, the following can never be checked because they are preceded by an èlse. Just drop the else clauses:v <-...
View ArticleWorking with multiple if else statements
I cannot figure out what I need. Here is simplification what I actually need.I would like to process each function if certain number appears in a vector,here is example:v <-...
View Article