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 (<=, >
Just concatenate the expressions with & (AND) or | (OR)
Using subset
subset(DF, GENProm < 0.5 & matricula > 10)
Or, more safely, [
DF[DF[['GENProm']] < 0.5 & DF[['matricula']] > 10, ]
temp is the original dataset, and temp.1 is the dataset after subsetting.
temp.1 <- temp[temp[,"GENProm"]<0.5 & temp[,"matricula"]>10,]