I have a data frame containing a list of subjects below a certain accuracy threshold (i.e 50% incorrect): 1. I have another data frame containing all subjects (accurate and inaccurate) with all their data. Importantly, there are multiple rows per subject in this central data frame: 2.
I need to remove the inaccurate subjects from the central data-frame in 2. How do I do this in R? I have already tried subset:
filterdata<-subset(groupedmergedoutliers, subject==filtercorrectpercent$subject)
'groupedmergedoutliers' is the central subject data frame ; 'filtercorrectpercent'is the inaccurate subjects data frame;