Conditional Statements

This video covers conditional statements in R specifically case when and if/else statements. I show how to use the ifelse function to create a new column with two values based on the values of another column. We then cover how to use the case_when function to perform this same function for columns with more than two values.


Code and Data Available Here

Slides