Lets suppose your data frame is called DF
and you want item_i = 9, you coul try:
DF[DF$item_i==9,]
If you want item_i = 1 or 9 then
DF[DF$item_i %in% c(1,9),]
Lets suppose your data frame is called DF
and you want item_i = 9, you coul try:
DF[DF$item_i==9,]
If you want item_i = 1 or 9 then
DF[DF$item_i %in% c(1,9),]