I am very new to R and have started to learn the basics but I am struggling with the more advance concepts.
For this particular project I am importing game by game stats for basketball via .csv file. Essentially I am trying to figure out the standard deviation of pts scored for each unique player within the data set.
I started down the route of importing the .csv file as "NBA".
Then I used a formula to store each player as a unique variable but that is cumbersome and will exclude when new players play when coming off of injury.
For example I was doing this:
AD= NBA[which(NBA$Name =="Anthony Davis"),]
sd(AD$POINTS)