From 25f165468388e97fb0d8b868d0440fdca48abe41 Mon Sep 17 00:00:00 2001 From: Abhijit Paul <90377311+AbhijitPaul10@users.noreply.github.com> Date: Tue, 29 Oct 2024 19:34:47 +0530 Subject: [PATCH] Update lesson.yaml The answer was incorrect at line 62. --- Regression_Models/Count_Outcomes/lesson.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Regression_Models/Count_Outcomes/lesson.yaml b/Regression_Models/Count_Outcomes/lesson.yaml index c61f85ba..aa13aa01 100644 --- a/Regression_Models/Count_Outcomes/lesson.yaml +++ b/Regression_Models/Count_Outcomes/lesson.yaml @@ -59,7 +59,7 @@ - Class: cmd_question Output: "R's Date class represents dates as days since or prior to January 1, 1970. They are essentially numbers, and to some extent can be treated as such. Dates can, for example, be added or subtracted, or easily coverted to numbers. Type as.integer(head(hits[,'date'])) to see what I mean." - CorrectAnswer: class(hits[,'date']) + CorrectAnswer: as.integer(head(hits[,'date'])) AnswerTests: ANY_of_exprs("as.integer(head(hits[,'date']))", 'as.integer(head(hits[,"date"]))', 'as.integer(head(hits[,1]))', 'as.integer(head(hits$date))') Hint: Type as.integer(head(hits[,'date']), or something equivalent.