Skip to content

Error in a solution to the exercise #3

@mdebasrija

Description

@mdebasrija

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions