Now we are ready to add a layer to actually make the histogram. Use the object created in the previous exercise and the geom_histogram function to make the histogram.
Note that when we run the code in the previous exercise we get the warning: stat_bin() using bins = 30. Pick better value with binwidth.‘ Use the binwidth argument to change the histogram made in the previous exercise to use bins of size 1 inch.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here