Question: When importing data for writeup assignments you are free to change code that loads data, such as changing the file name or folder address. The

When importing data for writeup assignments you are free to change code that loads data, such as changing
the file name or folder address. The code below imports a dataset about the number of rental bikes in use
each hour for a random set of hours over a two year span. The data is saved in the data frame bikes, under
the variable name bikes$rentals. Using the function hist(...), create a histogram of the bike rentals.
Utilizing ?hist, find the optional function arguments to do the following:
Plot a histogram of the data
Plot a density, rather than frequency histogram
Change the main title of the plot to something more appropriate
Change the x axis of the plot to something more informative
bikes<-read.csv("BikeRentals.csv")
1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!