Skip to content

Commit 6de9f21

Browse files
authored
Update lesson.yaml
Sollution swirldev#498 This problem with "!" in the beginning of line: Hint: !is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA.
1 parent 42323dc commit 6de9f21

File tree

1 file changed

+1
-1
lines changed
  • Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr

1 file changed

+1
-1
lines changed

Diff for: Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/lesson.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
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)).'
203203
CorrectAnswer: "!is.na(c(3, 5, NA, 10))"
204204
AnswerTests: omnitest('!is.na(c(3, 5, NA, 10))')
205-
Hint: !is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA.
205+
Hint: Expression !is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA.
206206

207207
- Class: cmd_question
208208
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().'

0 commit comments

Comments
 (0)