My R knowledge is pretty limited, but I have to an analysis for a project which is due in a few days and was hoping I could get some quick help around here!
I created this dataset https://1drv.ms/x/s!ArVyXA5cSMj2h7Mf07SZaVUSK3421Q?e=GQBfeU but only want to use the data for the year 2016.
I would either like to create a new data frame containing only those rows which include year = 2016 or do my linear regression with the original data frame, but only using the 2016 data - either way will work fine!
Tried googling this, but I wasn't sure what to search for...