I have a question. In my sample, I would like to exclude some subjects from the evaluation who have not answered the control question correctly. Therefore I have a column "wrong answers" in my data set, where 0 or 1 is written. I would like to exclude all subjects who answered the control question incorrectly (=1).
Could you share a small sample of your data? wrong answers isn't common variable name. How you filter out some of the subjects may vary slightly based on the data structures you are using as well.
unrelated note
As a note in case you need help in the future, one way to make it easier to help is to give us code that generates your sample data. head and dput are functions that are really helpful for that. For instance,