::: {.cell hash='02_R_introduction_cache/pdf/unnamed-chunk-118_50b413ca9de44fae11657482208d2da7'}

```{.r .cell-code}
if (condition) {
  # Do something if condition holds
} else if (second condition) {
  # Otherwise, do something else if the second condition holds
} else {
  # If non of the previous holds, do this
}
```
:::