From d785c0bba1a8dafd63ac18b787f73c959f412fa7 Mon Sep 17 00:00:00 2001 From: hadley Date: Tue, 23 Aug 2016 09:11:07 -0500 Subject: [PATCH] Make a logical vector Fixes #299 --- vectors.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ```