Hi there, I have encountered an issue while doing my small assignment for my University Stats class.
The whole goal of the assignment is to conduct a small data collection and apply it into a histogram.
Everything was going nice and smoothly until I noticed a mistake in the count for the 1st class:
-the histogram appears to merge the count for 12 pts and 13 pts into 1 count and represents the count for 13 as 4
-with the count() command, the count for 12 pts is equal to 3 and for 13 pts is equal to 1 (combined=4)
I am struggling to solve that issue. I include 2 screenshots, for better visualisation of the problem + the code I used, RstudioIssue1|690x388 and in case i used wrong wording. Here's the code I used for the Histogram:
Version:1.0 StartHTML:0000000107 EndHTML:0000002267 StartFragment:0000000127 EndFragment:0000002249
hist(points.game,
main="LeBron James points per game stats for NBA season 15/16",
xlab="points scored",
border="black",
col="tomato",
las=1,
breaks=40, xlim=c(10,45), ylim=c(0,14), ylab="number of games")