I have a data set on football transfer fees from across various leagues, how can I filter the data to only give me the data from the following leagues Premier League, La Liga, Ligue 1, Serie A and Bundesliga. I then need to find the mean transfer fee for each league and plot this. I have attached an image of the dataset I need to filter.
FT_League1<-FootballTransfers[c(2:742),c(1,7,8,10)]
I tried this but I still need to subset column 7 to only give me transfer fees from the leagues I want
I have attached an image of the output this gave me