Make a logical vector

Fixes #299
This commit is contained in:
hadley 2016-08-23 09:11:07 -05:00
parent c2cc5bf3c5
commit d785c0bba1
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ The four most important types of atomic vector are logical, integer, double, and
Logical vectors are the simplest type of atomic vector because they can take only three possible values: `FALSE`, `TRUE`, and `NA`. Logical vectors are usually constructed with comparison operators, as described in [comparisons]. You can also create them by hand with `c()`:
```{r}
1:10 %% 3
1:10 %% 3 == 0
c(TRUE, TRUE, FALSE, NA)
```