I have a big data frame. I want to make a subset based on the condition of the values of one column. Say:
a<-data.frame(x=rep(1:5,5),y=rnorm(25),z=runif(25))
I want to make a subset based on the values of column x. For instance taking values of x=c(2,3,5) and create another dataframe.