The & operator in R performs element-wise logical 'AND' operation on ________.

  • scalars
  • vectors
  • strings
  • factors
The & operator in R performs element-wise logical 'AND' operation on vectors. When applied to two logical vectors, the & operator compares the corresponding elements and returns a logical vector of the same length, where each element represents the result of the element-wise 'AND' operation.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *