I need to apply the filter condition on String columns along with numeric columns. This way it is not giving the expected output. If anyone has encountered the same problem, please help
Num1<-c(1,2,3,4,5)
Num2<-c(1,2,2,1,1)
String1<-c("AA","BB","CC","DD","EE")
String2<-c("AA","BB","CC","DD","FF")
data<-c(Num1,Num2,String1,String2)
df<-data%>%
filter((Num2<Num1) & (String1==String2))