I am new to R (and am really learning coding for the first time). I am trying to filter out responses to 4 objects that do not meet a certain criteria. I was able to do one object, but not sure how to add all four to the code. These are attention check items. I need to drop these out for any and all who did not meet this conditions.
This is my line of code
HW3P<- filter(Homework_3_dataset,Homework_3_dataset$Att1==2)
I need to add the same for Att2==2, Att3==1, and Att4==7.
Again, I am new so not only is the code new, the language is new.