From 2c86a62451ba1b34b345522d1abcd0b10316a9f7 Mon Sep 17 00:00:00 2001 From: Ambu Vijayan <82611533+ambuvjyn@users.noreply.github.com> Date: Tue, 21 Feb 2023 11:50:00 +0530 Subject: [PATCH] Update lesson.yaml --- .../Manipulating_Data_with_dplyr/lesson.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/lesson.yaml b/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/lesson.yaml index cd7eebd9..af3396d3 100644 --- a/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/lesson.yaml +++ b/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/lesson.yaml @@ -202,7 +202,7 @@ Output: 'Now, put an exclamation point (!) before is.na() to change all of the TRUEs to FALSEs and all of the FALSEs to TRUEs, thus telling us what is NOT NA: !is.na(c(3, 5, NA, 10)).' CorrectAnswer: "!is.na(c(3, 5, NA, 10))" AnswerTests: omnitest('!is.na(c(3, 5, NA, 10))') - Hint: !is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA. + Hint: Try !is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA. - Class: cmd_question Output: 'Okay, ready to put all of this together? Use filter() to return all rows of cran for which r_version is NOT NA. Hint: You will need to use !is.na() as part of your second argument to filter().'