I am trying to subset some particular rows in the data with the picture attached. My goal is to (1) List the "Make.and.model" with model names ending with 'R'.
(2) List the "Make.and.model" that might be smaller than 'liter' bikes (engine size < 1000 cc), based on their name. I want to achieve this by first, excluding motorcycles with
1 in the name (these will mostly be 1000+ numbers). From that set of names, I will now select those with numbers in range
2-9 in their names.
Please, how do I achieve these?