0

What's the difference between & vs && and | vs || in R? I'm getting the same results.

x = 1
y = 2
z = 3
ifelse(x < y & y < z, "true","false")
ifelse(x < y && y < z, "true","false")

0 Answers0