diff --git a/vectors.Rmd b/vectors.Rmd index d91fdc2..7f86c07 100644 --- a/vectors.Rmd +++ b/vectors.Rmd @@ -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) ```