Does the ternary operator exist in R? June 1, 2022 by IT Nursery As the question asks, is there a control sequence in R similar to C’s ternary operator? If so, how do you use it? Thanks! 8 Answers 8