I have a table as given below:
dput(tail(dt[,c("DSALENew","PPEGTNew","ACNew")],5))
structure(list(DSALENew = c(1.2, 1.54, 1.1, 12, 1.1),
PPEGTNew = c(4, 1.2, 2.2, 1.1, 2), ACNew = c(458, 1.2, 1.5,
1.88, 3.2)), .Names = c("DSALENew", "PPEGTNew", "ACNew"), row.names = c(139728L, 139730L, 139731L, 139732L, 139733L), class = "data.frame")
I want to select only those rows which has values between 1 and 2 for columns DSALENew and PPEGTNew. How can I do the same? Thanks.