Skip to content

Commit

Permalink
Edit a typo in the logicals chapter (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
leovuong authored Jul 14, 2024
1 parent 06f8d5c commit 643ab1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logicals.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ There's an optional fourth argument, `missing` which will be used if the input i
if_else(x > 0, "+ve", "-ve", "???")
```

You can also use vectors for the the `true` and `false` arguments.
You can also use vectors for the `true` and `false` arguments.
For example, this allows us to create a minimal implementation of `abs()`:

```{r}
Expand Down

0 comments on commit 643ab1b

Please sign in to comment.