Session Ready
Exercise

Conditionals

What will this conditional expression return? Run it from the console.

x <- c(1,2,-3,4)
if(all(x>0)){
    print("All Positives")
  } else{
     print("Not All Positives")
  }
Instructions
50 XP
Possible Answers