Find rows in a data frame where two columns are equal

mteq <- mtcars[mtcars$gear==mtcars$carb, ]

Leave a Comment