SyntaxFix
Write A Post
Hire A Developer
Questions
You can use %in%
%in%
data[data$Code %in% selected,] Code Value 1 A 1 2 B 2 7 A 3 8 A 4