Hello Everyone,
I have a big issue trying to print out all of the data points in RStudio using ggplot().
I first got a matrix and converted it into a data frame like this (I upload a picture of the data frame in this question).......
'''x<-FieldGoals/Games
x.df<-as.data.frame(t(x))'''
Afterwards, I want to try to plot all of the values in every column using ggplot() and include a legend in the plot with the names of all the columns. In ggplot, I know you could plot only one column as the y-axis using ggplot(). I would like to know if there is any way in which I could include all of the values in every column as the y-axis values and include the row names in the data frame as the x-axis in the same graph. If you need more information for this problem, I am more than happy to be more specific. Thank you!