From 5a5c57441674a415313813798a8193d14b4ab1e1 Mon Sep 17 00:00:00 2001 From: Mine Cetinkaya-Rundel Date: Mon, 30 Oct 2023 08:18:58 -0400 Subject: [PATCH] Update logicals.qmd, closes #1572 --- logicals.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logicals.qmd b/logicals.qmd index 5fef2bf..e7dcbb2 100644 --- a/logicals.qmd +++ b/logicals.qmd @@ -575,7 +575,7 @@ We don't expect you to memorize these rules, but they should become second natur The definition of a logical vector is simple because each value must be either `TRUE`, `FALSE`, or `NA`. But logical vectors provide a huge amount of power. -In this chapter, you learned how to create logical vectors with `>`, `<`, `<=`, `=>`, `==`, `!=`, and `is.na()`, how to combine them with `!`, `&`, and `|`, and how to summarize them with `any()`, `all()`, `sum()`, and `mean()`. +In this chapter, you learned how to create logical vectors with `>`, `<`, `<=`, `>=`, `==`, `!=`, and `is.na()`, how to combine them with `!`, `&`, and `|`, and how to summarize them with `any()`, `all()`, `sum()`, and `mean()`. You also learned the powerful `if_else()` and `case_when()` functions that allow you to return values depending on the value of a logical vector. We'll see logical vectors again and again in the following chapters.