Course

# IF ELSE Function in R

Learn in detail about the ifelse() function, including syntax, along with finding whether a number is odd or even, and finally, with an example to see whether a student passed or failed their exam.

Jun 8, 2020 · 4 min read

R Courses

4 hr

2.7M

Course

### Intermediate R

6 hr

600.5K

Course

### Introduction to Writing Functions in R

4 hr

42.9K

See More

RelatedSee MoreSee More

tutorial

### Conditionals and Control Flow in R Tutorial

Learn about relational operators for comparing R objects and logical operators for combining boolean TRUE and FALSE values. You'll also construct conditional statements.

Aditya Sharma

13 min

tutorial

### Factors in R Tutorial

Learn about the factor function in R, along with an example, and it's structure, order levels, renaming of the levels, and finally, with the ordering of categorical values.

Olivia Smith

5 min

tutorial

### Using Functions in R Tutorial

Discover what R functions are, the different type of functions in R, and how to create your own functions in R.

Javier Canales Luna

11 min

tutorial

### IF ELSE in Scala

In this tutorial, you'll learn about conditional IF ELSE statements in the Scala programming language.

Aditya Sharma

5 min

tutorial

### Python IF, ELIF, and ELSE Statements

In this tutorial, you will learn exclusively about Python if else statements.

Sejal Jaiswal

9 min

tutorial

### Utilities in R Tutorial

Learn about several useful functions for data structure manipulation, nested-lists, regular expressions, and working with times and dates in the R programming language.

Aditya Sharma

18 min