Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
649 B
649 B
Conditional Statements
Conditional statements let code branch based on whether something is true or false, using if, else if, and else. R evaluates the condition, runs the matching block, and skips the rest. R also offers ifelse() and dplyr's case_when() for applying conditional logic across an entire column of data at once.
Visit the following resources to learn more: