Question: Built-in data sets are data sets that are always available to us in the R console without having to issue any type of instruction to

Built-in data sets are data sets that are always available to us in the R console without having to issue any type of instruction to make them available. You can see a listing of these built-in datasets by typing the command "data( )" in the console pane or by clicking on the word "datasets" in the Packages tab located in your RStudio window. Clicking on "datasets" in the Packages tab will allow you to read more information about each of the built-in datasets.

Plot a Graph

Using the built-in dataset "cars", plot a histogram using the distance values on the x-axis and a scatter plot using speed on the x-axis and distance on the y-axis. Create the graphs first using the Base graphics functions and then again using the ggplot2 graphics functions. Provide the appropriate x- and y-axis labels (not the default labels) and the main title.

Create an R Markdown HTML document containing your code and the fours graphs. Submit the HTML document for this assignment.

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!