Skip to content

Commit

Permalink
add more flexibility to identical() question in rprog lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarchedi committed Aug 12, 2014
1 parent 0269071 commit 55bffff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R_Programming/Matrices_and_Data_Frames/lesson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
- Class: cmd_question
Output: Finally, let's confirm that my_matrix and my_matrix2 are actually identical. The identical() function will tell us if its first two arguments are the same. Try it out.
CorrectAnswer: identical(my_matrix, my_matrix2)
AnswerTests: omnitest(correctExpr='identical(my_matrix, my_matrix2)')
AnswerTests: any_of_exprs('identical(my_matrix, my_matrix2)', 'identical(my_matrix2, my_matrix)')
Hint: If you're not sure about this one, then checkout the documentation for identical() using the `?` function.

- Class: text
Expand Down

0 comments on commit 55bffff

Please sign in to comment.