I have large data frame that looks something like this:
df1 = data.frame(A=c("A23", "A53", "B68"), B=c("Something-2030-002", "Something-4030-002",
"Something-5030-002"))
I want to subset it to include only the observations with Something-X where X<5. That is:
df2 = data.frame(A=c("A23", "A53"), B=c("Something-2030-002", "Something-4030-002")
How can I do this with R?
Thanks
