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.