I have a EPL matches data loaded into R consisting of 4 columns (Home Team, Full Time Home Team Goals, Away Team, Full Time Away Team Goals).
Home Team and Away Team consists of a total of 20 football clubs. I would like to plot a graph showing the total number of goals (both home team goals and away team goals) scored by each football club. May I know the easiest way to go about this?
I'm new to R and can't quite figure out which way would be the best. Do I create a data frame first and then plot a graph? A part of my data as shown below; My data