In the Chapter 2 solutions I noticed a small error in solution 14.
Make a logical vector with TRUE, FALSE values of length 4, use c(). Ex: c(TRUE,FALSE). [Difficulty: Beginner]
c(TRUE,FALSE,FALSE,TRUE,FALSE)
c(TRUE,TRUE,FALSE,TRUE,FALSE)
Since the length of the vector should be 4, the solution vector should contain one less element. For example, one solution could be -
c(TRUE, TRUE, FALSE, FALSE)
Thanks!
In the Chapter 2 solutions I noticed a small error in solution 14.
Since the length of the vector should be 4, the solution vector should contain one less element. For example, one solution could be -
Thanks!