Consider the following vectors representing the number of three-pointers made and attempted by a basketball player in five games:

Three-Pointers Made: c(3, 5, 6, 3, 7) Three-Pointers Attempted: c(9, 10, 8, 11, 12)

Calculate the three-point shooting percentage for each game and select the correct average three-point shooting percentage for the five games.

x3P <- c(3, 5, 6, 3, 7) 
x3PA <- c(9, 10, 8, 11, 12)
x3SP_pct <- (x3P/x3PA) * 100
x3SP_pct
## [1] 33.33333 50.00000 75.00000 27.27273 58.33333
avgx3SP_pct <- mean(x3SP_pct)
avgx3SP_pct
## [1] 48.78788