I have a set of data for movie revenue, with the corresponding year and producer. I need to find a way to subset the movies released in a specific decade for a specific producer.
I created a table that shows the year and Publishers for the whole data set, but I need to specify the publisher and a set decade to find the amount of movies release by x publisher in x decade.
Heres what I tried
table(TxSales$Year, TxSales$Producer)
This gives me the number of movies released by each producer in each year from 1978 to 1996 (Omits 20 rows due, maxed space)