To filter rows that match values on two columns in a DataFrame in R, you can use the following methods:
You can use the following code to filter rows based on two columns:
main.r309 chars13 lines
You can also use the dplyr package to filter rows:
main.r390 chars18 lines
Both methods will produce the same output:
main.r42 chars4 lines
gistlibby LogSnag