I found this question to be similiar to mine, but I need to know a way to do the same thing with mathematical conditions such as less or equal than or greator or equal (<=, >
temp is the original dataset, and temp.1 is the dataset after subsetting.
temp
temp.1
temp.1 <- temp[temp[,"GENProm"]<0.5 & temp[,"matricula"]>10,]